1 --- a/drivers/net/wireless/ath/ath5k/phy.c
2 +++ b/drivers/net/wireless/ath/ath5k/phy.c
3 @@ -1604,11 +1604,13 @@ int ath5k_hw_phy_calibrate(struct ath5k_
6 if (ah->ah_radio == AR5K_RF5110)
7 - ret = ath5k_hw_rf5110_calibrate(ah, channel);
9 - ret = ath5k_hw_rf511x_iq_calibrate(ah);
10 + return ath5k_hw_rf5110_calibrate(ah, channel);
12 + ret = ath5k_hw_rf511x_iq_calibrate(ah);
14 + if (ah->ah_radio == AR5K_RF5112 &&
15 + (channel->hw_value & (CHANNEL_5GHZ | CHANNEL_OFDM)))
16 ath5k_hw_request_rfgain_probe(ah);