diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-07-10 23:53:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-14 14:52:59 -0400 |
commit | 0eee612731e133604023bfa8d20047e98160845e (patch) | |
tree | ae9cf4291493c65925727bf3591fe3dbff4f1a4d /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 9f17b318a1e2335b45cf35ad6509b90e972c0e6b (diff) |
iwlwifi: fix LED stall
This patch fixes LED stall. last_blink_time was updated only if LED command
was sent, causing wrong computation of the througput.
Some code cleanup comes with this patch as well
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 92a37664d453..bd06e0f87113 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -933,7 +933,7 @@ struct iwl_priv { | |||
933 | #endif | 933 | #endif |
934 | 934 | ||
935 | #ifdef CONFIG_IWLWIFI_LEDS | 935 | #ifdef CONFIG_IWLWIFI_LEDS |
936 | struct iwl4965_led led[IWL_LED_TRG_MAX]; | 936 | struct iwl_led led[IWL_LED_TRG_MAX]; |
937 | unsigned long last_blink_time; | 937 | unsigned long last_blink_time; |
938 | u8 last_blink_rate; | 938 | u8 last_blink_rate; |
939 | u8 allow_blinking; | 939 | u8 allow_blinking; |