mac80211: initialize the last rx time when creating a station
[openwrt.git] / package / mac80211 / patches / 409-ath9k_platform_settings.patch
index 31de3e4..6ce43b6 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath9k/init.c
 +++ b/drivers/net/wireless/ath/ath9k/init.c
-@@ -543,8 +543,14 @@ static int ath9k_init_softc(u16 devid, s
+@@ -553,8 +553,14 @@ static int ath9k_init_softc(u16 devid, s
        ah->hw_version.subsysid = subsysid;
        sc->sc_ah = ah;
  
@@ -18,7 +18,7 @@
        common->ops = &ath9k_common_ops;
 --- a/drivers/net/wireless/ath/ath9k/hw.h
 +++ b/drivers/net/wireless/ath/ath9k/hw.h
-@@ -793,7 +793,7 @@ struct ath_hw {
+@@ -794,7 +794,7 @@ struct ath_hw {
        u32 originalGain[22];
        int initPDADC;
        int PDADCdelta;
  
 --- a/drivers/net/wireless/ath/ath9k/gpio.c
 +++ b/drivers/net/wireless/ath/ath9k/gpio.c
-@@ -139,10 +139,12 @@ void ath_init_leds(struct ath_softc *sc)
+@@ -44,12 +44,14 @@ void ath_init_leds(struct ath_softc *sc)
        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))
+-              sc->sc_ah->led_pin = ATH_LED_PIN_9485;
 -      else
 -              sc->sc_ah->led_pin = ATH_LED_PIN_DEF;
 +      if (sc->sc_ah->led_pin < 0) {
 +              if (AR_SREV_9287(sc->sc_ah))
 +                      sc->sc_ah->led_pin = ATH_LED_PIN_9287;
++              else if (AR_SREV_9485(sc->sc_ah))
++                      sc->sc_ah->led_pin = ATH_LED_PIN_9485;
 +              else
 +                      sc->sc_ah->led_pin = ATH_LED_PIN_DEF;
 +      }
This page took 0.028808 seconds and 4 git commands to generate.