aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-22 21:00:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-22 21:00:58 +0000
commitee7f3d21f416c540b8b8b271b7174efaf6c4f658 (patch)
treee66857ec5f82d8dc15b06461b2e2cc53ce48c0cf /package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch
parent85b859a2b6ec255557b9cb204b54b64a3e73cc48 (diff)
downloadupstream-ee7f3d21f416c540b8b8b271b7174efaf6c4f658.tar.gz
upstream-ee7f3d21f416c540b8b8b271b7174efaf6c4f658.tar.bz2
upstream-ee7f3d21f416c540b8b8b271b7174efaf6c4f658.zip
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.patch6
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 22299020a0..d60be760d6 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;