wifi: mac80211: don't include MLE in ML reconf per-STA profile
authorJohannes Berg <johannes.berg@intel.com>
Sat, 8 Mar 2025 21:03:40 +0000 (23:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Mar 2025 09:53:11 +0000 (10:53 +0100)
commitc3171bed65ec323803b6b73f74017f7d0fd7aa6c
treee9001c1cfaa169476cb92f178b470ceba0f9a09c
parent82306ea157ad5d1dc8126f81a989e61bf1001c0d
wifi: mac80211: don't include MLE in ML reconf per-STA profile

In the multi-link reconfiguration frame, the per-STA profile for
added links shouldn't include the multi-link element. Set the
association ID to an invalid value, so it doesn't erroneously
match the link ID if that happens to be zero.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250308225541.8e5be244c70f.I3472cd5c347814ee3600869a88488997bcd43224@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c