aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/eeprom.c
diff options
context:
space:
mode:
authorSenthil Balasubramanian <senthilkumar@atheros.com>2008-11-13 17:59:36 +0530
committerJohn W. Linville <linville@tuxdriver.com>2008-11-25 16:41:29 -0500
commitf9bbf431beb7dd98b94fa965dab851432be4b762 (patch)
tree91250e60538735bcd2e8768ea4351db8f7de52d8 /drivers/net/wireless/ath9k/eeprom.c
parent9f8042021792f8c0e0a7f5b81f326bfab86cda83 (diff)
ath9k: incorrect noise floor threshold values.
This patch fixes incorrect noise floor threshold values. Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/eeprom.c')
-rw-r--r--drivers/net/wireless/ath9k/eeprom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/eeprom.c b/drivers/net/wireless/ath9k/eeprom.c
index 9b2fdc538a8..180e5411465 100644
--- a/drivers/net/wireless/ath9k/eeprom.c
+++ b/drivers/net/wireless/ath9k/eeprom.c
@@ -1551,9 +1551,9 @@ u32 ath9k_hw_get_eeprom(struct ath_hal *ah,
switch (param) {
case EEP_NFTHRESH_5:
- return -pModal[0].noiseFloorThreshCh[0];
+ return pModal[0].noiseFloorThreshCh[0];
case EEP_NFTHRESH_2:
- return -pModal[1].noiseFloorThreshCh[0];
+ return pModal[1].noiseFloorThreshCh[0];
case AR_EEPROM_MAC(0):
return pBase->macAddr[0] << 8 | pBase->macAddr[1];
case AR_EEPROM_MAC(1):