[PATCH] ipw2200: Make LED blinking frequency independent of HZ
authorZhu Yi <yi.zhu@intel.com>
Tue, 24 Jan 2006 08:37:10 +0000 (16:37 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 31 Jan 2006 01:35:33 +0000 (20:35 -0500)
Signed-off-by: Clemens Buchacher <drizzd@aon.at>.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c

index d3aa59d0461c26bb2cd9d478f1946a9e64af6c55..37cd71cd114442e54db8ef204024bdb937582e97 100644 (file)
@@ -776,9 +776,9 @@ static u32 ipw_register_toggle(u32 reg)
  * - On radio OFF, turn off any LEDs started during radio on
  *
  */
-#define LD_TIME_LINK_ON 300
-#define LD_TIME_LINK_OFF 2700
-#define LD_TIME_ACT_ON 250
+#define LD_TIME_LINK_ON msecs_to_jiffies(300)
+#define LD_TIME_LINK_OFF msecs_to_jiffies(2700)
+#define LD_TIME_ACT_ON msecs_to_jiffies(250)
 
 static void ipw_led_link_on(struct ipw_priv *priv)
 {