]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] rt2x00: jiffies_round -> jiffies_round_relative
authorAnton Blanchard <anton@samba.org>
Mon, 15 Oct 2007 05:40:34 +0000 (00:40 -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/rt2x00/rt2x00lib.h

index 298faa9d3f61520a79565eff5194c744b835d4a9..06d9bc0015c0ed9376ddb7b7e0a65d9c3a374087 100644 (file)
@@ -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 )
 
 /*