]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/net/wireless/ath/ath9k/hw.c
ath9k: Don't read NF when chip has gone through full sleep mode
[linux-2.6.git] / drivers / net / wireless / ath / ath9k / hw.c
index 4731ad2d999698dda32022e62f26433501a797ac..2c904c6e2099b36a76b3c2401dc60c89d3e4f85f 100644 (file)
@@ -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 &&