diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-11-15 18:08:50 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-26 09:47:19 -0500 |
commit | d507748ac6de67369e76058a8a921cd22734f40a (patch) | |
tree | ea6efb39300fc2eca122b2da06e76b21d537c431 /drivers/net/wireless/rt2x00 | |
parent | f941f8590c06c6b1a77c4b5a5df59f39a3c7d1e9 (diff) |
rt2x00: Don't switch off LED on initialization
When we switch off the LEDS during initialization
we kill rt73usb from proper functioning. The immediate
result after the first LED command are MCU failures
and a complete breakdown of TX/RX.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00leds.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00leds.c b/drivers/net/wireless/rt2x00/rt2x00leds.c index 66c61b1eca5d..68f4e0fc35b9 100644 --- a/drivers/net/wireless/rt2x00/rt2x00leds.c +++ b/drivers/net/wireless/rt2x00/rt2x00leds.c | |||
@@ -111,12 +111,6 @@ static int rt2x00leds_register_led(struct rt2x00_dev *rt2x00dev, | |||
111 | led->led_dev.name = name; | 111 | led->led_dev.name = name; |
112 | led->led_dev.brightness = LED_OFF; | 112 | led->led_dev.brightness = LED_OFF; |
113 | 113 | ||
114 | /* | ||
115 | * Ensure the LED is off, it might have been enabled | ||
116 | * by the hardware when the device was powered on. | ||
117 | */ | ||
118 | led->led_dev.brightness_set(&led->led_dev, LED_OFF); | ||
119 | |||
120 | retval = led_classdev_register(device, &led->led_dev); | 114 | retval = led_classdev_register(device, &led->led_dev); |
121 | if (retval) { | 115 | if (retval) { |
122 | ERROR(rt2x00dev, "Failed to register led handler.\n"); | 116 | ERROR(rt2x00dev, "Failed to register led handler.\n"); |