Skip to content

Commit

Permalink
ath9k_hw: rename PA calib for AR9287
Browse files Browse the repository at this point in the history
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Apr 16, 2010
1 parent e83a113 commit becdbc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath/ath9k/calib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit becdbc5

Please sign in to comment.