ath9k: improve reliability of the rx stuck fixup

SVN-Revision: 20967
This commit is contained in:
Felix Fietkau 2010-04-17 23:58:16 +00:00
parent 33f6c63f2a
commit 3434500d35

View file

@ -15,8 +15,8 @@
+ do { + do {
+ reg = REG_READ(ah, AR_OBS_BUS_1); + reg = REG_READ(ah, AR_OBS_BUS_1);
+ +
+ if ((reg & 0x7E7FFFEF) != 0x00702400) + if ((reg & 0x7E7FFFEF) == 0x00702400)
+ return true; + continue;
+ +
+ switch (reg & 0x7E000B00) { + switch (reg & 0x7E000B00) {
+ case 0x1E000000: + case 0x1E000000: