ath10k: remove VHT capabilities from 2.4GHz
[cascardo/linux.git] / drivers / net / wireless / ath / ath10k / mac.c
index de31eb6..465dcee 100644 (file)
@@ -4278,9 +4278,6 @@ static void ath10k_mac_setup_ht_vht_cap(struct ath10k *ar)
        if (ar->phy_capability & WHAL_WLAN_11G_CAPABILITY) {
                band = &ar->mac.sbands[NL80211_BAND_2GHZ];
                band->ht_cap = ht_cap;
-
-               /* Enable the VHT support at 2.4 GHz */
-               band->vht_cap = vht_cap;
        }
        if (ar->phy_capability & WHAL_WLAN_11A_CAPABILITY) {
                band = &ar->mac.sbands[NL80211_BAND_5GHZ];