summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/calib.c
diff options
context:
space:
mode:
authorVivek Natarajan <vnatarajan@atheros.com>2009-09-17 09:24:24 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-09-23 11:35:45 -0400
commit6170cd5c72399f8536412ac75cba29cddc9919fb (patch)
treeef1db141a0b1738da9e49a21dc2a7ab810be68c7 /drivers/net/wireless/ath/ath9k/calib.c
parent692e565e4b07ed872e6de5e1e3a6ae5b950e0369 (diff)
downloadlinux-stable-6170cd5c72399f8536412ac75cba29cddc9919fb.tar.gz
linux-stable-6170cd5c72399f8536412ac75cba29cddc9919fb.tar.bz2
linux-stable-6170cd5c72399f8536412ac75cba29cddc9919fb.zip
ath9k: Set default noise floor value for AR9287
The default noise floor was never initialized for AR9287.This patch helps in reporting the correct RSSI for this version of chipset. Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c
index 3234995e8881..439f2c743d85 100644
--- a/drivers/net/wireless/ath/ath9k/calib.c
+++ b/drivers/net/wireless/ath/ath9k/calib.c
@@ -697,6 +697,8 @@ void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah)
noise_floor = AR_PHY_CCA_MAX_AR9280_GOOD_VALUE;
else if (AR_SREV_9285(ah))
noise_floor = AR_PHY_CCA_MAX_AR9285_GOOD_VALUE;
+ else if (AR_SREV_9287(ah))
+ noise_floor = AR_PHY_CCA_MAX_AR9287_GOOD_VALUE;
else
noise_floor = AR_PHY_CCA_MAX_AR5416_GOOD_VALUE;