diff options
author | Robert Shade <robert.shade@gmail.com> | 2013-03-27 19:46:27 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-27 21:39:08 +0400 |
commit | 05005c5f290cf0c4f1d4173d18fc90ea2223a043 (patch) | |
tree | eb6adb92b054b6844a0ea167a4e11f685b85d379 /drivers/net/wireless/ath/ath9k/ar9003_calib.c | |
parent | 56771e5054463fd3ec2047ea4d4a26111ec7dbab (diff) | |
download | linux-05005c5f290cf0c4f1d4173d18fc90ea2223a043.tar.xz |
Show actual timeout value in failed calibration messages.
The messages are currently hard coding "1ms", which does not match
the actual timeout being used.
Signed-off-by: Robert Shade <robert.shade@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_calib.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_calib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_calib.c b/drivers/net/wireless/ath/ath9k/ar9003_calib.c index 4cc13940c895..e1770e60be25 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_calib.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_calib.c @@ -1125,7 +1125,8 @@ skip_tx_iqcal: ar9003_hw_rtt_disable(ah); ath_dbg(common, CALIBRATE, - "offset calibration failed to complete in 1ms; noisy environment?\n"); + "offset calibration failed to complete in %d ms; noisy environment?\n", + AH_WAIT_TIMEOUT / 1000); return false; } |