1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
3 @@ -75,7 +75,19 @@ static int ar9003_hw_set_channel(struct
4 freq = centers.synth_center;
6 if (freq < 4800) { /* 2 GHz, fractional mode */
7 - if (AR_SREV_9485(ah)) {
8 + if (AR_SREV_9330(ah)) {
12 + if (ah->is_clk_25mhz)
17 + channelSel = (freq * 4) / div;
18 + chan_frac = (((freq * 4) % div) * 0x20000) / div;
19 + channelSel = (channelSel << 17) | chan_frac;
20 + } else if (AR_SREV_9485(ah)) {