ath9k: improve reliability of the rx stuck fixup
[openwrt.git] / package / mac80211 / patches / 550-ath9k_bb_fix.patch
index a4ea8ad..13eccae 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath9k/hw.c
 +++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -1125,6 +1125,34 @@ static bool ath9k_hw_channel_change(stru
+@@ -1172,6 +1172,34 @@ static bool ath9k_hw_channel_change(stru
        return true;
  }
  
@@ -15,8 +15,8 @@
 +      do {
 +              reg = REG_READ(ah, AR_OBS_BUS_1);
 +
-+              if ((reg & 0x7E7FFFEF) != 0x00702400)
-+                      return true;
++              if ((reg & 0x7E7FFFEF) == 0x00702400)
++                      continue;
 +
 +              switch (reg & 0x7E000B00) {
 +              case 0x1E000000:
@@ -37,7 +37,7 @@
  {
 --- a/drivers/net/wireless/ath/ath9k/hw.h
 +++ b/drivers/net/wireless/ath/ath9k/hw.h
-@@ -847,6 +847,7 @@ void ath9k_hw_set11nmac2040(struct ath_h
+@@ -869,6 +869,7 @@ void ath9k_hw_set11nmac2040(struct ath_h
  void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period);
  void ath9k_hw_set_sta_beacon_timers(struct ath_hw *ah,
                                    const struct ath9k_beacon_state *bs);
This page took 0.025402 seconds and 4 git commands to generate.