1 --- a/drivers/net/wireless/ath/ath9k/gpio.c
2 +++ b/drivers/net/wireless/ath/ath9k/gpio.c
3 @@ -147,7 +147,9 @@ void ath_init_leds(struct ath_softc *sc)
4 if (AR_SREV_9100(sc->sc_ah))
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;
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 @@ -457,6 +457,7 @@ void ath9k_btcoex_timer_pause(struct ath
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 */