aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/irda/af_irda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c
index c24f25ab67d3..bb14c3477680 100644
--- a/net/irda/af_irda.c
+++ b/net/irda/af_irda.c
@@ -2558,8 +2558,8 @@ bed:
2558 self->errno = 0; 2558 self->errno = 0;
2559 setup_timer(&self->watchdog, irda_discovery_timeout, 2559 setup_timer(&self->watchdog, irda_discovery_timeout,
2560 (unsigned long)self); 2560 (unsigned long)self);
2561 self->watchdog.expires = jiffies + (val * HZ/1000); 2561 mod_timer(&self->watchdog,
2562 add_timer(&(self->watchdog)); 2562 jiffies + msecs_to_jiffies(val));
2563 2563
2564 /* Wait for IR-LMP to call us back */ 2564 /* Wait for IR-LMP to call us back */
2565 __wait_event_interruptible(self->query_wait, 2565 __wait_event_interruptible(self->query_wait,