rt2x00: Fix quality/activity led handling
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 21 Apr 2008 17:01:09 +0000 (19:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 1 May 2008 21:38:39 +0000 (17:38 -0400)
commit61c2b682b8391f13b67e2d95990a0aba34697d9c
treec64692ce1a5ea6eb5ac362fc7391b2a081479e18
parent44a9809b97ec5acd1c549c3120bdd35613897d7c
rt2x00: Fix quality/activity led handling

There was an obvious typo in LED structure
initialization which caused the radio and quality/activity
leds to be incorrectly initialized which resulted in
the leds not being enabled.

Additionally add the rt2x00led_led_activity() handler
that will enable TX/RX activity leds when the radio
is being enabled.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00leds.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c