]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: mac80211: fix missing ieee80211_eml_params member initialization
authorMeiChia Chiu <MeiChia.Chiu@mediatek.com>
Tue, 3 Mar 2026 05:47:25 +0000 (13:47 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Mar 2026 07:37:29 +0000 (08:37 +0100)
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>
net/mac80211/eht.c

index 75096b2195d24358da4ae3abc595d0e349d17037..078e1e23d8d1dd4be72357ee2ff7e045cce45f9e 100644 (file)
@@ -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;