Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193821
b: refs/heads/master
c: 2cbfaea
h: refs/heads/master
i:
  193819: ab63788
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Mar 23, 2010
1 parent fe02819 commit 30e11dd
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 6398dc039d92b12805a900b3f82a033007a5b465
refs/heads/master: 2cbfaea48500ce98588e31bd806bbfb524b36b31
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/calib.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ static void ath9k_hw_do_getnf(struct ath_hw *ah,
nf = 0 - ((nf ^ 0x1ff) + 1);
ath_print(common, ATH_DBG_CALIBRATE,
"NF calibrated [ctl] [chain 0] is %d\n", nf);

if (AR_SREV_9271(ah) && (nf >= -114))
nf = -116;

nfarray[0] = nf;

if (!AR_SREV_9285(ah) && !AR_SREV_9271(ah)) {
Expand Down Expand Up @@ -139,6 +143,10 @@ static void ath9k_hw_do_getnf(struct ath_hw *ah,
nf = 0 - ((nf ^ 0x1ff) + 1);
ath_print(common, ATH_DBG_CALIBRATE,
"NF calibrated [ext] [chain 0] is %d\n", nf);

if (AR_SREV_9271(ah) && (nf >= -114))
nf = -116;

nfarray[3] = nf;

if (!AR_SREV_9285(ah) && !AR_SREV_9271(ah)) {
Expand Down

0 comments on commit 30e11dd

Please sign in to comment.