Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166285
b: refs/heads/master
c: 204d794
h: refs/heads/master
i:
  166283: 7964ce5
v: v3
  • Loading branch information
Vasanthakumar Thiagarajan authored and John W. Linville committed Sep 23, 2009
1 parent 15cb6db commit 0e2854c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d8caa83967d62c05f406d34abaaf2e1baa172c6c
refs/heads/master: 204d794086f26a7b191d9a9c3483af8b81362b16
9 changes: 9 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1273,6 +1273,15 @@ static void ath9k_hw_override_ini(struct ath_hw *ah,
*/
REG_SET_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT));

if (AR_SREV_9280_10_OR_LATER(ah)) {
val = REG_READ(ah, AR_PCU_MISC_MODE2) &
(~AR_PCU_MISC_MODE2_HWWAR1);

if (AR_SREV_9287_10_OR_LATER(ah))
val = val & (~AR_PCU_MISC_MODE2_HWWAR2);

REG_WRITE(ah, AR_PCU_MISC_MODE2, val);
}

if (!AR_SREV_5416_20_OR_LATER(ah) ||
AR_SREV_9280_10_OR_LATER(ah))
Expand Down

0 comments on commit 0e2854c

Please sign in to comment.