diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-07-13 04:07:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-14 14:53:00 -0400 |
commit | 4c9adafff7d910f142fe44fae37ed12c6b99f20f (patch) | |
tree | 6a14e7894bbb305bdd8422dd4ea6ed038ca4f4a0 /drivers/net/wireless/rt2x00/rt2x00firmware.c | |
parent | 3eb2011a67b044859069359948579b942993c416 (diff) |
rt2x00: Reset LED assoc status after firmware update
According to the legacy drivers the LED association status
must be reset after the firmware has been uploaded to the
hardware.
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/rt2x00firmware.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00firmware.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00firmware.c b/drivers/net/wireless/rt2x00/rt2x00firmware.c index b971bc6e7ee2..bab05a56e7a0 100644 --- a/drivers/net/wireless/rt2x00/rt2x00firmware.c +++ b/drivers/net/wireless/rt2x00/rt2x00firmware.c | |||
@@ -100,6 +100,14 @@ int rt2x00lib_load_firmware(struct rt2x00_dev *rt2x00dev) | |||
100 | retval = rt2x00dev->ops->lib->load_firmware(rt2x00dev, | 100 | retval = rt2x00dev->ops->lib->load_firmware(rt2x00dev, |
101 | rt2x00dev->fw->data, | 101 | rt2x00dev->fw->data, |
102 | rt2x00dev->fw->size); | 102 | rt2x00dev->fw->size); |
103 | |||
104 | /* | ||
105 | * When the firmware is uploaded to the hardware the LED | ||
106 | * association status might have been triggered, for correct | ||
107 | * LED handling it should now be reset. | ||
108 | */ | ||
109 | rt2x00leds_led_assoc(rt2x00dev, false); | ||
110 | |||
103 | return retval; | 111 | return retval; |
104 | } | 112 | } |
105 | 113 | ||