diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/calib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c index b4a92a4313f6..8649581fa4dd 100644 --- a/drivers/net/wireless/ath/ath9k/calib.c +++ b/drivers/net/wireless/ath/ath9k/calib.c | |||
@@ -262,7 +262,7 @@ void ath9k_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan) | |||
262 | * since 250us often results in NF load timeout and causes deaf | 262 | * since 250us often results in NF load timeout and causes deaf |
263 | * condition during stress testing 12/12/2009 | 263 | * condition during stress testing 12/12/2009 |
264 | */ | 264 | */ |
265 | for (j = 0; j < 1000; j++) { | 265 | for (j = 0; j < 10000; j++) { |
266 | if ((REG_READ(ah, AR_PHY_AGC_CONTROL) & | 266 | if ((REG_READ(ah, AR_PHY_AGC_CONTROL) & |
267 | AR_PHY_AGC_CONTROL_NF) == 0) | 267 | AR_PHY_AGC_CONTROL_NF) == 0) |
268 | break; | 268 | break; |
@@ -278,7 +278,7 @@ void ath9k_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan) | |||
278 | * here, the baseband nf cal will just be capped by our present | 278 | * here, the baseband nf cal will just be capped by our present |
279 | * noisefloor until the next calibration timer. | 279 | * noisefloor until the next calibration timer. |
280 | */ | 280 | */ |
281 | if (j == 1000) { | 281 | if (j == 10000) { |
282 | ath_dbg(common, ATH_DBG_ANY, | 282 | ath_dbg(common, ATH_DBG_ANY, |
283 | "Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x%x\n", | 283 | "Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x%x\n", |
284 | REG_READ(ah, AR_PHY_AGC_CONTROL)); | 284 | REG_READ(ah, AR_PHY_AGC_CONTROL)); |