Skip to contentSkip to conversation

wifi: mac80211: fix missing ieee80211_eml_params member initialization

PATCH In review MeiChia Chiu 2 participants 2 messages Mar 3

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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")
---
 net/mac80211/eht.c | 1 +
 1 file changed, 1 insertion(+)
net/mac80211/eht.c +1 -0
index 75096b2195d2..078e1e23d8d1 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines

The missing initialization causes driver to misinterpret the EML control bitmap, resulting in incorrect link bitmap handling.

Quoted 22 lines
Fixes 0d95280a2d54e ("wifi: mac80211: Add eMLSR/eMLMR action frame parsing support")
---
 net/mac80211/eht.c | 1 +
 1 file changed, 1 insertion(+)
net/mac80211/eht.c +1 -0
index 75096b2195d2..078e1e23d8d1 100644
@@ -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