Skip to contentSkip to conversation

ath9k: Fix incorrect noise floor reading for 4k EEPROM

PATCH In review Sujith 1 participant 1 message Feb 12, 2009 Networking drivers (wireless)

lore
Share & tools
lore

Sujith

author
#0 lore raw

PATCH 7/8 ath9k: Fix incorrect noise floor reading for 4k EEPROM

---
 drivers/net/wireless/ath9k/eeprom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath9k/eeprom.c +1 -1
index c2335af..b0fdb1e 100644
@@ -439,7 +439,7 @@ static u32 ath9k_hw_4k_get_eeprom(struct ath_hw *ah,
 
 	switch (param) {
 	case EEP_NFTHRESH_2:
-		return pModal[1].noiseFloorThreshCh[0];
+		return pModal->noiseFloorThreshCh[0];
 	case AR_EEPROM_MAC(0):
 		return pBase->macAddr[0] << 8 | pBase->macAddr[1];
 	case AR_EEPROM_MAC(1):
Signature · 1 line
1.6.1