ath9k: improve reliability of the rx stuck fixup

SVN-Revision: 20967
owl
Felix Fietkau 2010-04-17 23:58:16 +00:00
parent 33f6c63f2a
commit 3434500d35
1 changed files with 2 additions and 2 deletions

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: