Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225528
b: refs/heads/master
c: 44cefea
h: refs/heads/master
v: v3
  • Loading branch information
Brian Prodoehl authored and John W. Linville committed Jan 4, 2011
1 parent 9f65d88 commit aed8cfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad9082adfc0a6bdcef1bad2f22485575479d7a9d
refs/heads/master: 44cefead807daf96d0f43eb494b1eb5edb5454bf
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/ar9002_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,14 @@ static void ar9002_hw_spur_mitigate(struct ath_hw *ah,
for (i = 0; i < AR_EEPROM_MODAL_SPURS; i++) {
cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz);

if (AR_NO_SPUR == cur_bb_spur)
break;

if (is2GHz)
cur_bb_spur = (cur_bb_spur / 10) + AR_BASE_FREQ_2GHZ;
else
cur_bb_spur = (cur_bb_spur / 10) + AR_BASE_FREQ_5GHZ;

if (AR_NO_SPUR == cur_bb_spur)
break;
cur_bb_spur = cur_bb_spur - freq;

if (IS_CHAN_HT40(chan)) {
Expand Down

0 comments on commit aed8cfe

Please sign in to comment.