1166e3b0d948d72317778443257168c7ec0fbfee
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 551-ath9k-read-spur-frequency-information-from-eeprom-fo.patch
1 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
3 @@ -168,7 +168,7 @@ static void ar9003_hw_spur_mitigate_mrc_
4 * is out-of-band and can be ignored.
5 */
6
7 - if (AR_SREV_9485(ah) || AR_SREV_9340(ah)) {
8 + if (AR_SREV_9485(ah) || AR_SREV_9340(ah) || AR_SREV_9330(ah)) {
9 spur_fbin_ptr = ar9003_get_spur_chan_ptr(ah,
10 IS_CHAN_2GHZ(chan));
11 if (spur_fbin_ptr[0] == 0) /* No spur */
12 @@ -193,7 +193,7 @@ static void ar9003_hw_spur_mitigate_mrc_
13
14 for (i = 0; i < max_spur_cnts; i++) {
15 negative = 0;
16 - if (AR_SREV_9485(ah) || AR_SREV_9340(ah))
17 + if (AR_SREV_9485(ah) || AR_SREV_9340(ah) || AR_SREV_9330(ah))
18 cur_bb_spur = FBIN2FREQ(spur_fbin_ptr[i],
19 IS_CHAN_2GHZ(chan)) - synth_freq;
20 else