summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-11-20 09:59:11 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-11 09:06:27 -0800
commit6b015f351d9c8a1800f4e234fbfbcc0198bf0b5f (patch)
treec4b03959544c497a189af9f7287e70df6401779c
parentaa335048531c58da34fed27b69a7ba0faf9a1eee (diff)
downloadlinux-3.10-6b015f351d9c8a1800f4e234fbfbcc0198bf0b5f.tar.gz
linux-3.10-6b015f351d9c8a1800f4e234fbfbcc0198bf0b5f.tar.bz2
linux-3.10-6b015f351d9c8a1800f4e234fbfbcc0198bf0b5f.zip
irda: sir_dev: Fix copy/paste typo
[ Upstream commit 2355a62bcbdcc4b567425bab036bfab6ade87eed ] Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 5039f08f5a5..43e9ab4f4d7 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;