source: branches/backfire/package/mac80211/patches/551-ath9k_initialize_chainmask.patch @ 27865

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

mac80211: backport latest changes from trunk

File size: 537 bytes
  • drivers/net/wireless/ath/ath9k/init.c

    a b static void ath9k_init_band_txpower(stru 
    667667static void ath9k_init_txpower_limits(struct ath_softc *sc) 
    668668{ 
    669669        struct ath_hw *ah = sc->sc_ah; 
     670        struct ath_common *common = ath9k_hw_common(sc->sc_ah); 
    670671        struct ath9k_channel *curchan = ah->curchan; 
    671672 
     673        ah->txchainmask = common->tx_chainmask; 
    672674        if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) 
    673675                ath9k_init_band_txpower(sc, IEEE80211_BAND_2GHZ); 
    674676        if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) 
Note: See TracBrowser for help on using the repository browser.