[adm5120] fix support for 2.6.38 kernel
[openwrt.git] / package / mac80211 / patches / 401-ath9k-dont-register-leds-on-ar9100.patch
1 --- a/drivers/net/wireless/ath/ath9k/gpio.c
2 +++ b/drivers/net/wireless/ath/ath9k/gpio.c
3 @@ -41,6 +41,9 @@ void ath_init_leds(struct ath_softc *sc)
4 {
5 int ret;
6
7 + if (AR_SREV_9100(sc->sc_ah))
8 + return;
9 +
10 if (sc->sc_ah->led_pin < 0) {
11 if (AR_SREV_9287(sc->sc_ah))
12 sc->sc_ah->led_pin = ATH_LED_PIN_9287;
This page took 0.050394 seconds and 5 git commands to generate.