]> err.no Git - linux-2.6/commitdiff
[PATCH] b43/b43legacy: jiffies_round -> jiffies_round_relative
authorAnton Blanchard <anton@samba.org>
Mon, 15 Oct 2007 05:42:23 +0000 (00:42 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Oct 2007 02:05:36 +0000 (22:05 -0400)
When rounding a relative timeout we need to use round_jiffies_relative().

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43legacy/main.c

index 9d9ff76a9bc664a85191610034ad2640750cca4c..5058e60e5703de6d668d384f5f0d47638994a80b 100644 (file)
@@ -2391,7 +2391,7 @@ out_requeue:
        if (b43_debug(dev, B43_DBG_PWORK_FAST))
                delay = msecs_to_jiffies(50);
        else
-               delay = round_jiffies(HZ * 15);
+               delay = round_jiffies_relative(HZ * 15);
        queue_delayed_work(wl->hw->workqueue, &dev->periodic_work, delay);
 out:
        mutex_unlock(&wl->mutex);
index d09479e816cdf12b79658cc8ebce0586cfd18d74..f0e56dfc9ecf7520928e089d197907fd3fe1f527 100644 (file)
@@ -2260,7 +2260,7 @@ out_requeue:
        if (b43legacy_debug(dev, B43legacy_DBG_PWORK_FAST))
                delay = msecs_to_jiffies(50);
        else
-               delay = round_jiffies(HZ);
+               delay = round_jiffies_relative(HZ);
        queue_delayed_work(dev->wl->hw->workqueue,
                           &dev->periodic_work, delay);
 out: