diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-22 22:12:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-26 15:32:42 -0400 |
commit | d9292c0db7b4e98ae6d34a662ef49a8bd127fd8f (patch) | |
tree | 5f0cfeca368ee2f5107446e22a73b6e5e93823d8 | |
parent | 866b7780fce95989dfc85f3e372635f5147e0d90 (diff) |
ath9k_hw: fix a small typo in the noisefloor calibration debug code
In the noisefloor array, the extension channel values start at index 3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/calib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c index 7f4c55f90e74..07372462a8ea 100644 --- a/drivers/net/wireless/ath/ath9k/calib.c +++ b/drivers/net/wireless/ath/ath9k/calib.c | |||
@@ -278,7 +278,7 @@ static void ath9k_hw_nf_sanitize(struct ath_hw *ah, s16 *nf) | |||
278 | 278 | ||
279 | ath_print(common, ATH_DBG_CALIBRATE, | 279 | ath_print(common, ATH_DBG_CALIBRATE, |
280 | "NF calibrated [%s] [chain %d] is %d\n", | 280 | "NF calibrated [%s] [chain %d] is %d\n", |
281 | (i > 3 ? "ext" : "ctl"), i % 3, nf[i]); | 281 | (i >= 3 ? "ext" : "ctl"), i % 3, nf[i]); |
282 | 282 | ||
283 | if (nf[i] > limit->max) { | 283 | if (nf[i] > limit->max) { |
284 | ath_print(common, ATH_DBG_CALIBRATE, | 284 | ath_print(common, ATH_DBG_CALIBRATE, |