wifi: mt76: mt7915: fix HE PHY capability regression

Fix a logic error that was dropping required capabilities

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2024-04-03 11:34:14 +02:00
parent 446f652c96
commit 669aba47a1
+1 -1
View File
@@ -936,7 +936,7 @@ mt7915_set_stream_he_txbf_caps(struct mt7915_phy *phy,
/* the maximum cap is 4 x 3, (Nr, Nc) = (3, 2) */
elem->phy_cap_info[7] |= min_t(int, sts - 1, 2) << 3;
if (vif != NL80211_IFTYPE_AP || vif != NL80211_IFTYPE_STATION)
if (vif != NL80211_IFTYPE_AP && vif != NL80211_IFTYPE_STATION)
return;
elem->phy_cap_info[3] |= IEEE80211_HE_PHY_CAP3_SU_BEAMFORMER;