Patchwork irda: sir_dev: Fix copy/paste typo

login
register
mail settings
Submitter Alexander Shiyan
Date Nov. 20, 2012, 7:59 p.m.
Message ID <1353441551-4359-1-git-send-email-shc_work@mail.ru>
Download mbox | patch
Permalink /patch/200514/
State Accepted
Delegated to: David Miller
Headers show

Comments

Alexander Shiyan - Nov. 20, 2012, 7:59 p.m.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 drivers/net/irda/sir_dev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - Nov. 20, 2012, 8:52 p.m.
From: Alexander Shiyan <shc_work@mail.ru>
Date: Tue, 20 Nov 2012 23:59:11 +0400

> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

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;