ath9k: add more fixes for half/quarter rate support
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 549-ath9k_shift_reg_delay.patch
1 --- a/drivers/net/wireless/ath/ath9k/ar9002_phy.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9002_phy.c
3 @@ -131,8 +131,9 @@ static int ar9002_hw_set_channel(struct
4 channelSel = CHANSEL_5G(freq);
5
6 /* RefDivA setting */
7 - REG_RMW_FIELD(ah, AR_AN_SYNTH9,
8 - AR_AN_SYNTH9_REFDIVA, refDivA);
9 + ath9k_hw_analog_shift_rmw(ah, AR_AN_SYNTH9,
10 + AR_AN_SYNTH9_REFDIVA,
11 + AR_AN_SYNTH9_REFDIVA_S, refDivA);
12
13 }
14