source: trunk/package/mac80211/patches/590-ath9k_fix_5ghz_adc_cal.patch @ 28110

Last change on this file since 28110 was 28110, checked in by nbd, 5 years ago

ath9k: fix calibration on 5 ghz

File size: 453 bytes
  • drivers/net/wireless/ath/ath9k/ar9002_calib.c

    a b static bool ar9002_hw_is_cal_supported(s 
    4141        case ADC_DC_CAL: 
    4242                /* Run ADC Gain Cal for non-CCK & non 2GHz-HT20 only */ 
    4343                if (!IS_CHAN_B(chan) && 
    44                     !(IS_CHAN_2GHZ(chan) && IS_CHAN_HT20(chan))) 
     44                    !((IS_CHAN_2GHZ(chan) || IS_CHAN_A_FAST_CLOCK(ah, chan)) && 
     45                      IS_CHAN_HT20(chan))) 
    4546                        supported = true; 
    4647                break; 
    4748        } 
Note: See TracBrowser for help on using the repository browser.