wifi: mac80211: check link ID in auth/assoc continuation
authorJohannes Berg <johannes.berg@intel.com>
Wed, 21 Sep 2022 21:01:46 +0000 (23:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:01 +0000 (13:32 +0100)
commit8f8e5ca4e0387fa8f5fdb6024de09016108429b4
tree63288c876303e20571278b900b51c717d8402736
parentbb7743955a929e44b308cc3f63f8cc03873c1bee
wifi: mac80211: check link ID in auth/assoc continuation

[ Upstream commit 85176a3fcd9748558cff72d4cdff5465b8732282 ]

Ensure that the link ID matches in auth/assoc continuation,
otherwise we need to reset all the data.

Fixes: 81151ce462e5 ("wifi: mac80211: support MLO authentication/association with one link")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c