[PATCH] b43/b43legacy: jiffies_round -> jiffies_round_relative
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>
This commit is contained in:
committed by
John W. Linville
parent
b239bd7598
commit
82cd682d56
@@ -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:
|
||||
|
Reference in New Issue
Block a user