]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: cfg80211: fix MLO connection ownership
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Mar 2023 10:09:33 +0000 (12:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:43 +0000 (13:33 +0100)
commitb24b7df991f02ba4591e080da963472d3defa02e
treebc4fe7d7cd0bfb4b9380995b33370ed145b8da3d
parent9a42bd25738d4948cc92be3ea8bb797a1b2c79db
wifi: cfg80211: fix MLO connection ownership

[ Upstream commit 52fca64cc97bca8de5b9386e8c38e38b0a56b7d3 ]

When disconnecting from an MLO connection we need the AP
MLD address, not an arbitrary BSSID. Fix the code to do
that.

Fixes: b8e4e1bcde08 ("wifi: nl80211: refactor BSS lookup in nl80211_associate()")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230301115906.4c1b3b18980e.I008f070c7f3b8e8bde9278101ef9e40706a82902@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/wireless/nl80211.c