]> git.baikalelectronics.ru Git - kernel.git/commit
iwl3945: improve 3945 leds
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Thu, 21 May 2009 20:44:21 +0000 (13:44 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 May 2009 18:06:02 +0000 (14:06 -0400)
commit3eb49de22711206b46bae5a1021d0fefe606101a
tree77ecf16d1e104bb323f27b8696cb9ffab7aaae87
parentb945563f50ce818482f6282209705b7456880684
iwl3945: improve 3945 leds

'tpt' is a delta throughput (number of packets) and is corelated
to brightness of the LED. We already maintain a delta of packets in
rxtxpackets. There is no need to calculate this delta again which
was affecting the behaviour of LEDS.

Also add two new callback functions for ASSOCIATED/DISASSOCIATED states
where LED's will be *on* for associated state and *off* for disassociated state.

This fixes
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1771.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945-led.c