ath9k: improve stuck beacon recovery by reading nf values from the hw when a calibrat...
[openwrt.git] / package / mac80211 / patches / 410-ath9k-wndr3700-led-pin-fix.patch
1 --- a/drivers/net/wireless/ath/ath9k/gpio.c
2 +++ b/drivers/net/wireless/ath/ath9k/gpio.c
3 @@ -139,7 +139,9 @@ void ath_init_leds(struct ath_softc *sc)
4 if (AR_SREV_9100(sc->sc_ah))
5 return;
6
7 - if (AR_SREV_9287(sc->sc_ah))
8 + if (sc->quirk_wndr3700)
9 + sc->sc_ah->led_pin = ATH_LED_PIN_WNDR3700;
10 + else if (AR_SREV_9287(sc->sc_ah))
11 sc->sc_ah->led_pin = ATH_LED_PIN_9287;
12 else
13 sc->sc_ah->led_pin = ATH_LED_PIN_DEF;
14 --- a/drivers/net/wireless/ath/ath9k/ath9k.h
15 +++ b/drivers/net/wireless/ath/ath9k/ath9k.h
16 @@ -467,6 +467,7 @@ void ath9k_btcoex_timer_pause(struct ath
17
18 #define ATH_LED_PIN_DEF 1
19 #define ATH_LED_PIN_9287 8
20 +#define ATH_LED_PIN_WNDR3700 5
21 #define ATH_LED_ON_DURATION_IDLE 350 /* in msecs */
22 #define ATH_LED_OFF_DURATION_IDLE 250 /* in msecs */
23
This page took 0.041321 seconds and 5 git commands to generate.