diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-22 21:00:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-22 21:00:58 +0000 |
commit | ee7f3d21f416c540b8b8b271b7174efaf6c4f658 (patch) | |
tree | e66857ec5f82d8dc15b06461b2e2cc53ce48c0cf /package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch | |
parent | 85b859a2b6ec255557b9cb204b54b64a3e73cc48 (diff) | |
download | mtk-20170518-ee7f3d21f416c540b8b8b271b7174efaf6c4f658.zip mtk-20170518-ee7f3d21f416c540b8b8b271b7174efaf6c4f658.tar.gz mtk-20170518-ee7f3d21f416c540b8b8b271b7174efaf6c4f658.tar.bz2 |
mac80211: update to wireless-testing 2011-03-22
SVN-Revision: 26273
Diffstat (limited to 'package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch')
-rw-r--r-- | package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch b/package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch index 2229902..d60be76 100644 --- a/package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch +++ b/package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch @@ -7,6 +7,6 @@ + if (AR_SREV_9100(sc->sc_ah)) + return; + - if (AR_SREV_9287(sc->sc_ah)) - sc->sc_ah->led_pin = ATH_LED_PIN_9287; - else if (AR_SREV_9485(sc->sc_ah)) + if (sc->sc_ah->led_pin < 0) { + if (AR_SREV_9287(sc->sc_ah)) + sc->sc_ah->led_pin = ATH_LED_PIN_9287; |