public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] wifi: mac80211: fix missing ieee80211_eml_params member initialization
@ 2026-03-03  5:47 MeiChia Chiu
  2026-03-03  7:36 ` Lorenzo Bianconi
  0 siblings, 1 reply; 2+ messages in thread
From: MeiChia Chiu @ 2026-03-03  5:47 UTC (permalink / raw)
  To: Johannes Berg
  Cc: Lorenzo Bianconi, Felix Fietkau, Shayne Chen, Evelyn Tsai,
	Money Wang, linux-wireless, linux-mediatek, MeiChia Chiu

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>
---
 net/mac80211/eht.c | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wifi: mac80211: fix missing ieee80211_eml_params member initialization
  2026-03-03  5:47 [PATCH] wifi: mac80211: fix missing ieee80211_eml_params member initialization MeiChia Chiu
@ 2026-03-03  7:36 ` Lorenzo Bianconi
  0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Bianconi @ 2026-03-03  7:36 UTC (permalink / raw)
  To: MeiChia Chiu
  Cc: Johannes Berg, Felix Fietkau, Shayne Chen, Evelyn Tsai,
	Money Wang, linux-wireless, linux-mediatek

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

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

Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>

> 
> Fixes: 0d95280a2d54e ("wifi: mac80211: Add eMLSR/eMLMR action frame parsing support")
> Signed-off-by: MeiChia Chiu <MeiChia.Chiu@mediatek.com>
> ---
>  net/mac80211/eht.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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;
> -- 
> 2.45.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-03  7:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03  5:47 [PATCH] wifi: mac80211: fix missing ieee80211_eml_params member initialization MeiChia Chiu
2026-03-03  7:36 ` Lorenzo Bianconi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox