aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch
diff options
context:
space:
mode:
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;