diff options
-rw-r--r-- | drivers/net/usb/usbnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index f5e1639b3224..3b03794ac3f5 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c | |||
@@ -615,7 +615,7 @@ static void usbnet_terminate_urbs(struct usbnet *dev) | |||
615 | while (!skb_queue_empty(&dev->rxq) | 615 | while (!skb_queue_empty(&dev->rxq) |
616 | && !skb_queue_empty(&dev->txq) | 616 | && !skb_queue_empty(&dev->txq) |
617 | && !skb_queue_empty(&dev->done)) { | 617 | && !skb_queue_empty(&dev->done)) { |
618 | schedule_timeout(UNLINK_TIMEOUT_MS); | 618 | schedule_timeout(msecs_to_jiffies(UNLINK_TIMEOUT_MS)); |
619 | set_current_state(TASK_UNINTERRUPTIBLE); | 619 | set_current_state(TASK_UNINTERRUPTIBLE); |
620 | netif_dbg(dev, ifdown, dev->net, | 620 | netif_dbg(dev, ifdown, dev->net, |
621 | "waited for %d urb completions\n", temp); | 621 | "waited for %d urb completions\n", temp); |