source: trunk/package/mac80211/patches/446-ath5k_disable_32khz_clock.patch @ 27366

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

ath5k: disable the 32 khz sleep clock, atheros also does this, might improve stability

File size: 516 bytes
  • drivers/net/wireless/ath/ath5k/reset.c

    a b int ath5k_hw_reset(struct ath5k_hw *ah,  
    12871287         */ 
    12881288        ath5k_hw_dma_init(ah); 
    12891289 
    1290  
    1291         /* Enable 32KHz clock function for AR5212+ chips 
    1292          * Set clocks to 32KHz operation and use an 
    1293          * external 32KHz crystal when sleeping if one 
    1294          * exists */ 
    1295         if (ah->ah_version == AR5K_AR5212 && 
    1296             op_mode != NL80211_IFTYPE_AP) 
    1297                 ath5k_hw_set_sleep_clock(ah, true); 
    1298  
    12991290        /* 
    13001291         * Disable beacons and reset the TSF 
    13011292         */ 
Note: See TracBrowser for help on using the repository browser.