aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-01-23 00:50:55 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:01:23 -0500
commit5dad40c13e7753e7b62eb7c2fca9b4034679882a (patch)
tree1dc29ab8f4db1e9a3d0a71d4d946b1a6aee93756 /drivers/net/wireless/ath9k
parentf8206e053498174ef4b5f994e2a7091a74f7da30 (diff)
ath9k: Fix bug in NF calibration
The number of chainmasks for AR9285 weren't being setup when running NF calibration. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k')
-rw-r--r--drivers/net/wireless/ath9k/calib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/calib.c b/drivers/net/wireless/ath9k/calib.c
index d16f9fe48a9f..c6d1de0f1e21 100644
--- a/drivers/net/wireless/ath9k/calib.c
+++ b/drivers/net/wireless/ath9k/calib.c
@@ -620,7 +620,9 @@ void ath9k_hw_loadnf(struct ath_hal *ah, struct ath9k_channel *chan)
620 }; 620 };
621 u8 chainmask; 621 u8 chainmask;
622 622
623 if (AR_SREV_9280(ah)) 623 if (AR_SREV_9285(ah))
624 chainmask = 0x9;
625 else if (AR_SREV_9280(ah))
624 chainmask = 0x1B; 626 chainmask = 0x1B;
625 else 627 else
626 chainmask = 0x3F; 628 chainmask = 0x3F;