summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/irda/irda-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/irda/irda-usb.c')
-rw-r--r--kernel/drivers/net/irda/irda-usb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/drivers/net/irda/irda-usb.c b/kernel/drivers/net/irda/irda-usb.c
index f6c916312..25f21968f 100644
--- a/kernel/drivers/net/irda/irda-usb.c
+++ b/kernel/drivers/net/irda/irda-usb.c
@@ -848,7 +848,9 @@ static void irda_usb_receive(struct urb *urb)
* Jean II */
self->rx_defer_timer.function = irda_usb_rx_defer_expired;
self->rx_defer_timer.data = (unsigned long) urb;
- mod_timer(&self->rx_defer_timer, jiffies + (10 * HZ / 1000));
+ mod_timer(&self->rx_defer_timer,
+ jiffies + msecs_to_jiffies(10));
+
return;
}