summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-11-20 09:59:11 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-11-20 20:51:55 (GMT)
commit2355a62bcbdcc4b567425bab036bfab6ade87eed (patch)
tree26d2915c61868934d98d3149be697a1fa3761eaf /drivers/net
parentb4dd006760d671337b62532277b0296bcee8dfd4 (diff)
downloadlinux-2355a62bcbdcc4b567425bab036bfab6ade87eed.tar.xz
irda: sir_dev: Fix copy/paste typo
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/irda/sir_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/sir_dev.c b/drivers/net/irda/sir_dev.c
index 5039f08..43e9ab4 100644
--- a/drivers/net/irda/sir_dev.c
+++ b/drivers/net/irda/sir_dev.c
@@ -222,7 +222,7 @@ static void sirdev_config_fsm(struct work_struct *work)
break;
case SIRDEV_STATE_DONGLE_SPEED:
- if (dev->dongle_drv->reset) {
+ if (dev->dongle_drv->set_speed) {
ret = dev->dongle_drv->set_speed(dev, fsm->param);
if (ret < 0) {
fsm->result = ret;