[PATCH] rt2x00: 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:
parent
be84e3d673
commit
b239bd7598
@ -30,7 +30,7 @@
|
|||||||
* Interval defines
|
* Interval defines
|
||||||
* Both the link tuner as the rfkill will be called once per second.
|
* Both the link tuner as the rfkill will be called once per second.
|
||||||
*/
|
*/
|
||||||
#define LINK_TUNE_INTERVAL ( round_jiffies(HZ) )
|
#define LINK_TUNE_INTERVAL ( round_jiffies_relative(HZ) )
|
||||||
#define RFKILL_POLL_INTERVAL ( 1000 )
|
#define RFKILL_POLL_INTERVAL ( 1000 )
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user