Skip to content

Commit

Permalink
ath10k: allow VHT on 2.4GHz
Browse files Browse the repository at this point in the history
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
  • Loading branch information
dengqf6 authored and dhewg committed Nov 16, 2022
1 parent bfcf119 commit a00337f
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -5025,6 +5025,7 @@ static void ath10k_mac_setup_ht_vht_cap(
if (ar->phy_capability & WHAL_WLAN_11G_CAPABILITY) {
band = &ar->mac.sbands[NL80211_BAND_2GHZ];
band->ht_cap = ht_cap;
+ band->vht_cap = vht_cap;
}
if (ar->phy_capability & WHAL_WLAN_11A_CAPABILITY) {
band = &ar->mac.sbands[NL80211_BAND_5GHZ];

0 comments on commit a00337f

Please sign in to comment.