summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-led.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-07-11 03:53:36 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-07-14 18:52:59 (GMT)
commit0eee612731e133604023bfa8d20047e98160845e (patch)
treeae9cf4291493c65925727bf3591fe3dbff4f1a4d /drivers/net/wireless/iwlwifi/iwl-led.h
parent9f17b318a1e2335b45cf35ad6509b90e972c0e6b (diff)
downloadlinux-fsl-qoriq-0eee612731e133604023bfa8d20047e98160845e.tar.xz
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-led.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-led.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-led.h b/drivers/net/wireless/iwlwifi/iwl-led.h
index 5bb0412..c9466d5 100644
--- a/drivers/net/wireless/iwlwifi/iwl-led.h
+++ b/drivers/net/wireless/iwlwifi/iwl-led.h
@@ -49,7 +49,7 @@ enum led_type {
};
-struct iwl4965_led {
+struct iwl_led {
struct iwl_priv *priv;
struct led_classdev led_dev;