source: branches/backfire/package/mac80211/patches/547-ath9k_half_quarter_set_channel_frac.patch @ 27574

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

mac80211, ath9k: update to latest trunk as of r27572

File size: 448 bytes
  • drivers/net/wireless/ath/ath9k/ar9002_phy.c

    a b static int ar9002_hw_set_channel(struct  
    111111 
    112112                switch (ah->eep_ops->get_eeprom(ah, EEP_FRAC_N_5G)) { 
    113113                case 0: 
    114                         if ((freq % 20) == 0) 
     114                        if (IS_CHAN_HALF_RATE(chan) || IS_CHAN_QUARTER_RATE(chan)) 
     115                                aModeRefSel = 0; 
     116                        else if ((freq % 20) == 0) 
    115117                                aModeRefSel = 3; 
    116118                        else if ((freq % 10) == 0) 
    117119                                aModeRefSel = 2; 
Note: See TracBrowser for help on using the repository browser.