diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-13 18:38:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-13 18:38:37 +0000 |
commit | 66a6f82ee3704c72b3c6ea268ac71eed883722a5 (patch) | |
tree | 5572c7175f7b0854994964a55c03050c4471ef8a /package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch | |
parent | a08bd03fadb1950c149a03978e3abab7786cdcc5 (diff) | |
download | upstream-66a6f82ee3704c72b3c6ea268ac71eed883722a5.tar.gz upstream-66a6f82ee3704c72b3c6ea268ac71eed883722a5.tar.bz2 upstream-66a6f82ee3704c72b3c6ea268ac71eed883722a5.zip |
mac80211: update to wireless-testing 2011-03-11
SVN-Revision: 26128
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 | 14 |
1 files changed, 2 insertions, 12 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 166c133a61..22299020a0 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 @@ -1,17 +1,7 @@ --- a/drivers/net/wireless/ath/ath9k/gpio.c +++ b/drivers/net/wireless/ath/ath9k/gpio.c -@@ -120,6 +120,9 @@ static void ath_unregister_led(struct at - - void ath_deinit_leds(struct ath_softc *sc) +@@ -41,6 +41,9 @@ void ath_init_leds(struct ath_softc *sc) { -+ if (AR_SREV_9100(sc->sc_ah)) -+ return; -+ - ath_unregister_led(&sc->assoc_led); - sc->sc_flags &= ~SC_OP_LED_ASSOCIATED; - ath_unregister_led(&sc->tx_led); -@@ -133,6 +136,9 @@ void ath_init_leds(struct ath_softc *sc) - char *trigger; int ret; + if (AR_SREV_9100(sc->sc_ah)) @@ -19,4 +9,4 @@ + if (AR_SREV_9287(sc->sc_ah)) sc->sc_ah->led_pin = ATH_LED_PIN_9287; - else + else if (AR_SREV_9485(sc->sc_ah)) |