aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/calib.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-04-15 17:38:53 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:29 -0400
commitbecdbc542f3f3395138b45d7ae445886fa0feef7 (patch)
tree0dc3e5a439d671ba7bddb3dcc332bf515aafc8bf /drivers/net/wireless/ath/ath9k/calib.c
parente83a1134de299e6453c6d8bc99cf3af3972bb84a (diff)
downloadkernel_samsung_smdk4412-becdbc542f3f3395138b45d7ae445886fa0feef7.zip
kernel_samsung_smdk4412-becdbc542f3f3395138b45d7ae445886fa0feef7.tar.gz
kernel_samsung_smdk4412-becdbc542f3f3395138b45d7ae445886fa0feef7.tar.bz2
ath9k_hw: rename PA calib for AR9287
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.c4
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 156ae34..e2c427b 100644
--- a/drivers/net/wireless/ath/ath9k/calib.c
+++ b/drivers/net/wireless/ath/ath9k/calib.c
@@ -671,7 +671,7 @@ s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan)
}
EXPORT_SYMBOL(ath9k_hw_getchan_noise);
-static void ath9k_olc_temp_compensation_9287(struct ath_hw *ah)
+static void ar9287_hw_olc_temp_compensation(struct ath_hw *ah)
{
u32 rddata;
int32_t delta, currPDADC, slope;
@@ -706,7 +706,7 @@ static void ath9k_olc_temp_compensation(struct ath_hw *ah)
int delta, currPDADC, regval;
if (OLC_FOR_AR9287_10_LATER) {
- ath9k_olc_temp_compensation_9287(ah);
+ ar9287_hw_olc_temp_compensation(ah);
} else {
rddata = REG_READ(ah, AR_PHY_TX_PWRCTRL4);
currPDADC = MS(rddata, AR_PHY_TX_PWRCTRL_PD_AVG_OUT);