wifi: mac80211: fix missing ieee80211_eml_params member initialization
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- net/mac80211/eht.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/eht.c +1 -0
@@ -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 ;
Signature · 1 line
2.45.2
Quoted 2 lines
The missing initialization causes driver to misinterpret the EML control bitmap, resulting in incorrect link bitmap handling.
Acked-by Lorenzo Bianconi <[email protected]>
Quoted 22 lines
Fixes 0d95280a2d54e ("wifi: mac80211: Add eMLSR/eMLMR action frame parsing support")Signed-off-by MeiChia Chiu <[email protected]>--- net/mac80211/eht.c | 1 + 1 file changed, 1 insertion(+)net/mac80211/eht.c +1
-0@@ -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 ;Signature · 1 line
2.45.2