ath9k: improve reliability of the rx stuck fixup
authorFelix Fietkau <nbd@openwrt.org>
Sat, 17 Apr 2010 23:58:16 +0000 (23:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 17 Apr 2010 23:58:16 +0000 (23:58 +0000)
SVN-Revision: 20967

package/mac80211/patches/550-ath9k_bb_fix.patch

index 9c2594ce6e35b54faf167a58e10e68cbaed12fbb..13eccae7ebad83a4ab3071a05f9d8325069b30aa 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: