From: Alexander Shiyan Date: Tue, 20 Nov 2012 09:59:11 +0000 (+0000) Subject: irda: sir_dev: Fix copy/paste typo X-Git-Tag: upstream/snapshot3+hdmi~6224^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2355a62bcbdcc4b567425bab036bfab6ade87eed;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git irda: sir_dev: Fix copy/paste typo Signed-off-by: Alexander Shiyan Signed-off-by: David S. Miller --- 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;