ath9k: backport the rx stuck bugfix change from r20967
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 18 Apr 2010 00:01:53 +0000 (00:01 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 18 Apr 2010 00:01:53 +0000 (00:01 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20973 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/550-ath9k_bb_fix.patch

index 17bee7c2c2c032f8f85feba300150051ab797c24..d09114c8984f1bfffe8ef6cea40863ad1fc4aefd 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: