diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-11-20 12:04:54 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-23 17:05:30 -0500 |
commit | d5f4cf71f7b70e13f96cc8aac65b390707d5d80b (patch) | |
tree | e79c9c0608f439c5e854981857a3f3ba9430edb6 /drivers/net/wireless/iwlwifi/iwl-core.h | |
parent | iwlagn: Use iwl_write8() for CSR_INT_COALESCING register (diff) | |
download | linux-dev-d5f4cf71f7b70e13f96cc8aac65b390707d5d80b.tar.xz linux-dev-d5f4cf71f7b70e13f96cc8aac65b390707d5d80b.zip |
iwlwifi: control led while update tx/rx bytes counts
LED blinking rate is based on tx/rx traffic, the most reasonable place
to do it is after update the traffic byte counts
This fixes the recent LED blinking breakage on 3945 introduced by "iwlwifi:
separate led function from statistic notification"
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Tested-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index 584a376b96c5..f271663c1d2f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h @@ -390,6 +390,7 @@ static inline void iwl_update_stats(struct iwl_priv *priv, bool is_tx, /* data */ stats->data_bytes += len; } + iwl_leds_background(priv); } #endif /***************************************************** |