Skip to content

Commit

Permalink
[PATCH] rt2x00: jiffies_round -> jiffies_round_relative
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Blanchard authored and John W. Linville committed Oct 26, 2007
1 parent be84e3d commit b239bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/rt2x00/rt2x00lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* Interval defines
* 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 )

/*
Expand Down

0 comments on commit b239bd7

Please sign in to comment.