Skip to contentSkip to conversation

ath9k_hw: fix a small typo in the noisefloor calibration debug code

PATCH New Felix Fietkau 1 participant 1 message Jul 23, 2010 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k_hw: fix a small typo in the noisefloor calibration debug code

In the noisefloor array, the extension channel values start at index 3

---

drivers/net/wireless/ath/ath9k/calib.c +1 -1
@@ -278,7 +278,7 @@ static void ath9k_hw_nf_sanitize(struct 
 
 		ath_print(common, ATH_DBG_CALIBRATE,
 			  "NF calibrated [%s] [chain %d] is %d\n",
-			  (i > 3 ? "ext" : "ctl"), i % 3, nf[i]);
+			  (i >= 3 ? "ext" : "ctl"), i % 3, nf[i]);
 
 		if (nf[i] > limit->max) {
 			ath_print(common, ATH_DBG_CALIBRATE,