diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/calib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c index 4018074632c8..aa724c263404 100644 --- a/drivers/net/wireless/ath/ath9k/calib.c +++ b/drivers/net/wireless/ath/ath9k/calib.c | |||
@@ -89,9 +89,9 @@ static void ath9k_hw_update_nfcal_hist_buffer(struct ath9k_nfcal_hist *h, | |||
89 | return; | 89 | return; |
90 | } | 90 | } |
91 | 91 | ||
92 | static bool getNoiseFloorThresh(struct ath_hw *ah, | 92 | static bool ath9k_hw_get_nf_thresh(struct ath_hw *ah, |
93 | enum ieee80211_band band, | 93 | enum ieee80211_band band, |
94 | int16_t *nft) | 94 | int16_t *nft) |
95 | { | 95 | { |
96 | switch (band) { | 96 | switch (band) { |
97 | case IEEE80211_BAND_5GHZ: | 97 | case IEEE80211_BAND_5GHZ: |
@@ -612,7 +612,7 @@ int16_t ath9k_hw_getnf(struct ath_hw *ah, | |||
612 | } else { | 612 | } else { |
613 | ath9k_hw_do_getnf(ah, nfarray); | 613 | ath9k_hw_do_getnf(ah, nfarray); |
614 | nf = nfarray[0]; | 614 | nf = nfarray[0]; |
615 | if (getNoiseFloorThresh(ah, c->band, &nfThresh) | 615 | if (ath9k_hw_get_nf_thresh(ah, c->band, &nfThresh) |
616 | && nf > nfThresh) { | 616 | && nf > nfThresh) { |
617 | ath_print(common, ATH_DBG_CALIBRATE, | 617 | ath_print(common, ATH_DBG_CALIBRATE, |
618 | "noise floor failed detected; " | 618 | "noise floor failed detected; " |