aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-rx.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2009-11-20 12:04:56 -0800
committerJohn W. Linville <linville@tuxdriver.com>2009-11-23 17:05:32 -0500
commit7163b8a4ec995dabda3e92c6fed7b8600060618c (patch)
tree5ceab5ac9ddda4b73f54e74c7a5c99228b9ef561 /drivers/net/wireless/iwlwifi/iwl-rx.c
parentc15d20c1d19616f73b6fee4befd254d0c37b4d87 (diff)
iwlwifi: reset led_tpt when clear tx/rx traffic byte counts
LED blink rate is based on the traffic load, when tx/rx traffic counts got reset, we also need to reset the led_tpt to prevent incorrect blink rate being calculated. Merge both clear_tx_statistics() and clear_rx_statistics() into single clear_traffic_statistics() function, when reset the traffic byte counts, both tx and rx need to be reset at the same time, to make sure calculated the correct led blink rate. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
0 files changed, 0 insertions, 0 deletions