Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 7/8] ath9k: Fix incorrect noise floor reading for 4k EEPROM
@ 2009-02-12  4:36 Sujith
  0 siblings, 0 replies; only message in thread
From: Sujith @ 2009-02-12  4:36 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, Jouni.Malinen, Luis.Rodriguez

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
---
 drivers/net/wireless/ath9k/eeprom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/ath9k/eeprom.c b/drivers/net/wireless/ath9k/eeprom.c
index c2335af..b0fdb1e 100644
--- a/drivers/net/wireless/ath9k/eeprom.c
+++ b/drivers/net/wireless/ath9k/eeprom.c
@@ -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):
-- 
1.6.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-12  4:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-12  4:36 [PATCH 7/8] ath9k: Fix incorrect noise floor reading for 4k EEPROM Sujith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox