summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeiChia Chiu <MeiChia.Chiu@mediatek.com>2026-03-03 08:47:25 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-03-03 10:37:29 +0300
commit8fb54c7307f6add04246d2f7845e42ecd41950fe (patch)
tree9762b561d00e49a7d486cebae82c3c25672fd2b4
parentd973b1039ccde6b241b438d53297edce4de45b5c (diff)
downloadlinux-8fb54c7307f6add04246d2f7845e42ecd41950fe.tar.xz
wifi: mac80211: fix missing ieee80211_eml_params member initialization
The missing initialization causes driver to misinterpret the EML control bitmap, resulting in incorrect link bitmap handling. Fixes: 0d95280a2d54e ("wifi: mac80211: Add eMLSR/eMLMR action frame parsing support") Signed-off-by: MeiChia Chiu <MeiChia.Chiu@mediatek.com> Acked-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20260303054725.471548-1-MeiChia.Chiu@mediatek.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--net/mac80211/eht.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/eht.c b/net/mac80211/eht.c
index 75096b2195d2..078e1e23d8d1 100644
--- a/net/mac80211/eht.c
+++ b/net/mac80211/eht.c
@@ -154,6 +154,7 @@ void ieee80211_rx_eml_op_mode_notif(struct ieee80211_sub_if_data *sdata,
u8 *ptr = mgmt->u.action.u.eml_omn.variable;
struct ieee80211_eml_params eml_params = {
.link_id = status->link_id,
+ .control = control,
};
struct sta_info *sta;
int opt_len = 0;