]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
irda: sir_dev: Fix copy/paste typo
authorAlexander Shiyan <shc_work@mail.ru>
Tue, 20 Nov 2012 09:59:11 +0000 (09:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2012 20:51:55 +0000 (15:51 -0500)
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/sir_dev.c

index 5039f08f5a5b23cacd0f145cd790a30fce47806e..43e9ab4f4d7edc0b6771c1664d2064c164e37ec3 100644 (file)
@@ -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;