]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/ntb_netdev.c
rtl8xxxu: fix interface sanity check
[mirror_ubuntu-bionic-kernel.git] / drivers / net / ntb_netdev.c
index 9f6f7ccd44f775686dd4807d52b409be407026b9..306a662eba9400af21a25fb29edd5f8105257697 100644 (file)
@@ -236,7 +236,7 @@ static void ntb_netdev_tx_timer(struct timer_list *t)
        struct net_device *ndev = dev->ndev;
 
        if (ntb_transport_tx_free_entry(dev->qp) < tx_stop) {
-               mod_timer(&dev->tx_timer, jiffies + msecs_to_jiffies(tx_time));
+               mod_timer(&dev->tx_timer, jiffies + usecs_to_jiffies(tx_time));
        } else {
                /* Make sure anybody stopping the queue after this sees the new
                 * value of ntb_transport_tx_free_entry()