diff mbox series

[5.13] mt76: mt7921: remove leftover 80+80 HE capability

Message ID 20210528120304.34751-1-nbd@nbd.name
State New
Headers show
Series [5.13] mt76: mt7921: remove leftover 80+80 HE capability | expand

Commit Message

Felix Fietkau May 28, 2021, 12:03 p.m. UTC
Fixes interop issues with some APs that disable HE Tx if this is present

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 drivers/net/wireless/mediatek/mt76/mt7921/main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Kalle Valo May 30, 2021, 7:12 p.m. UTC | #1
Felix Fietkau <nbd@nbd.name> wrote:

> Fixes interop issues with some APs that disable HE Tx if this is present

> 

> Signed-off-by: Felix Fietkau <nbd@nbd.name>


Patch applied to wireless-drivers.git, thanks.

d4826d17b393 mt76: mt7921: remove leftover 80+80 HE capability

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210528120304.34751-1-nbd@nbd.name/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
diff mbox series

Patch

diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/main.c b/drivers/net/wireless/mediatek/mt76/mt7921/main.c
index f4c27aa41048..97a0ef331ac3 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7921/main.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7921/main.c
@@ -74,8 +74,7 @@  mt7921_init_he_caps(struct mt7921_phy *phy, enum nl80211_band band,
 				IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_IN_2G;
 		else if (band == NL80211_BAND_5GHZ)
 			he_cap_elem->phy_cap_info[0] =
-				IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_80MHZ_IN_5G |
-				IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_80PLUS80_MHZ_IN_5G;
+				IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_80MHZ_IN_5G;
 
 		he_cap_elem->phy_cap_info[1] =
 			IEEE80211_HE_PHY_CAP1_LDPC_CODING_IN_PAYLOAD;