1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
3 @@ -104,7 +104,7 @@ static int ar9003_hw_set_channel(struct
6 channelSel = (freq * 2) / 75;
7 - chan_frac = ((freq % 75) * 0x20000) / 75;
8 + chan_frac = (((freq * 2) % 75) * 0x20000) / 75;
9 channelSel = (channelSel << 17) | chan_frac;
11 channelSel = CHANSEL_5G(freq);