ath9k: improve reliability of the rx stuck fixup
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 17 Apr 2010 23:58:16 +0000 (23:58 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 17 Apr 2010 23:58:16 +0000 (23:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20967 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/550-ath9k_bb_fix.patch

index 9c2594c..13eccae 100644 (file)
@@ -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: