mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7921: use correct iftype data on 6GHz cap init
Set 6GHz cap to iftype data which is matched to the type of
current interface.
Fixes: 50ac15a511e3 ("mt76: mt7921: add 6GHz support")
Signed-off-by: Shayne Chen <[email protected]>
Acked-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
1463cb4c6a
commit
586bad6020
+1
-1
@@ -178,7 +178,7 @@ mt7921_init_he_caps(struct mt7921_phy *phy, enum nl80211_band band,
|
||||
if (vht_cap->cap & IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN)
|
||||
cap |= IEEE80211_HE_6GHZ_CAP_RX_ANTPAT_CONS;
|
||||
|
||||
data->he_6ghz_capa.capa = cpu_to_le16(cap);
|
||||
data[idx].he_6ghz_capa.capa = cpu_to_le16(cap);
|
||||
}
|
||||
idx++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user