mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 06:50:22 +07:00
ath9k_htc: use ath9k_cmn_reload_chainmask
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
b57ba3b2f7
commit
6da2f4ad9d
@ -616,14 +616,7 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv,
|
||||
hw->wiphy->bands[IEEE80211_BAND_5GHZ] =
|
||||
&common->sbands[IEEE80211_BAND_5GHZ];
|
||||
|
||||
if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_HT) {
|
||||
if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
|
||||
ath9k_cmn_setup_ht_cap(ah,
|
||||
&common->sbands[IEEE80211_BAND_2GHZ].ht_cap);
|
||||
if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
|
||||
ath9k_cmn_setup_ht_cap(ah,
|
||||
&common->sbands[IEEE80211_BAND_5GHZ].ht_cap);
|
||||
}
|
||||
ath9k_cmn_reload_chainmask(ah);
|
||||
|
||||
pBase = ath9k_htc_get_eeprom_base(priv);
|
||||
if (pBase) {
|
||||
|
Loading…
Reference in New Issue
Block a user