]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: fix ML reconf reset in disconnect
authorJohannes Berg <johannes.berg@intel.com>
Sat, 8 Mar 2025 21:03:39 +0000 (23:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Mar 2025 09:53:10 +0000 (10:53 +0100)
commit82306ea157ad5d1dc8126f81a989e61bf1001c0d
treee0b093f1bd099466d683f29516467356b8e92150
parent2160998ded514404140617286dd53a35983e5090
wifi: mac80211: fix ML reconf reset in disconnect

If disconnecting while ML reconfiguration is in progress,
the data isn't freed because the reset call is too late,
after the vif already switches to non-MLD. Move the call
to fix that.

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.abaea69cde42.I7e6b35731ded94fc2d68a2d4ecf81873712c268e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c