* [PATCH 06/12] ath9k: Don't read NF when chip has gone through full sleep mode
@ 2009-09-17 3:56 Sujith
0 siblings, 0 replies; only message in thread
From: Sujith @ 2009-09-17 3:56 UTC (permalink / raw)
To: linville; +Cc: linux-wireless
From: Vasanthakumar Thiagarajan <vasanth@atheros.com>
NF value may be incorrect when we read it just after the chip
has gone through a full sleep mode. Reading incorrect NF values
affects RX throughput.
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
---
drivers/net/wireless/ath/ath9k/hw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 4731ad2..2c904c6 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -2357,7 +2357,7 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
if (!ath9k_hw_setpower(ah, ATH9K_PM_AWAKE))
return -EIO;
- if (curchan)
+ if (curchan && !ah->chip_fullsleep)
ath9k_hw_getnf(ah, curchan);
if (bChannelChange &&
--
1.6.4.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-17 3:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-17 3:56 [PATCH 06/12] ath9k: Don't read NF when chip has gone through full sleep mode Sujith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox