rt2x00: Fix radio LED type check
authorAndrew Price <andy@andrewprice.me.uk>
Fri, 2 Jan 2009 08:05:27 +0000 (08:05 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:49 +0000 (14:24 -0500)
commitd1b29405bd3590bc97c4d3ff2c9139ca55e56ccd
tree31d811f56887f3ef5872f009ffa2a6a9493790dc
parent8476a6571005f9440adda08ca4d6c69c7f4db30b
rt2x00: Fix radio LED type check

Since "rt2x00: Fix LED state handling", rt2x00leds_led_radio wrongly
checks that the LED type is LED_TYPE_ASSOC. This patch makes it check
for LED_TYPE_RADIO once again.

Signed-off-by: Andrew Price <andy@andrewprice.me.uk>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00leds.c