diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-04-26 15:04:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-27 16:09:20 -0400 |
commit | 5d5d44d914623b6122f050ec900ea4016aa3a993 (patch) | |
tree | b25dda4abd523435ad65873077d3728611a57a2b /drivers/net/wireless/ath/ath9k/ar9003_phy.c | |
parent | 0cf31079e98be01baffb22a2e3ad0cbc58420a41 (diff) | |
download | op-kernel-dev-5d5d44d914623b6122f050ec900ea4016aa3a993.zip op-kernel-dev-5d5d44d914623b6122f050ec900ea4016aa3a993.tar.gz |
ath9k_hw: fix noisefloor timeout handling on AR9003
When the noisefloor calibration times out, do not load -50 into
the registers, since this might cause rx issues. Instead, leave
enough time for the noise floor calibration to complete until
the next check.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_phy.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_phy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c index 806f4a5..80431a2 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c @@ -1093,6 +1093,7 @@ static void ar9003_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan) ath_print(common, ATH_DBG_ANY, "Timeout while waiting for nf " "to load: AR_PHY_AGC_CONTROL=0x%x\n", REG_READ(ah, AR_PHY_AGC_CONTROL)); + return; } /* |