aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-01-24 03:37:10 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-01-30 20:35:33 -0500
commitede6111cae6a83fbb0b6b621b4333d1a3983c089 (patch)
treee1471e6b1b95d1a3fe468f02dc60fe9afacd459b
parentc7b6a6744c3eb878e08ef992d57cd01eed457810 (diff)
[PATCH] ipw2200: Make LED blinking frequency independent of HZ
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>
-rw-r--r--drivers/net/wireless/ipw2200.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index d3aa59d0461c..37cd71cd1144 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -776,9 +776,9 @@ static u32 ipw_register_toggle(u32 reg)
776 * - On radio OFF, turn off any LEDs started during radio on 776 * - On radio OFF, turn off any LEDs started during radio on
777 * 777 *
778 */ 778 */
779#define LD_TIME_LINK_ON 300 779#define LD_TIME_LINK_ON msecs_to_jiffies(300)
780#define LD_TIME_LINK_OFF 2700 780#define LD_TIME_LINK_OFF msecs_to_jiffies(2700)
781#define LD_TIME_ACT_ON 250 781#define LD_TIME_ACT_ON msecs_to_jiffies(250)
782 782
783static void ipw_led_link_on(struct ipw_priv *priv) 783static void ipw_led_link_on(struct ipw_priv *priv)
784{ 784{