aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-11-02 00:37:09 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:06:05 -0500
commit9a95dba32735534bda59def40c747bf606fedf05 (patch)
treebf64ebc24d6a6d812853af5904c8200a0813c984 /README
parent3d8606a680529d41ad8985f36ecf83a7b393ecaf (diff)
rt2x00: Fix LED state handling
For every global LED state change (register/unregister, suspend/resume) we should force the LEDS to turn off. This makes sure that the LEDS will always be in a sane state after the state switch. Note that when unregister is called but the LED class wasn't resumed yet, we shouldn't change the LED state since we might not have access to the device (device was unplugged while suspended). Also remove the checks in the activity, assoc and radio LEDS which blocked calls to brightness_set() when the state hasn't changed. Some of those LEDS could be enabled by themselves when something happens in the hardware (e.g. firmware is loaded). We already did called rt2x00leds to switch the LED off, but those calls were blocked. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions