wifi: cfg80211: fix MLO connection ownership
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Mar 2023 10:09:33 +0000 (12:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Mar 2023 10:47:25 +0000 (11:47 +0100)
commit96c069508377547f913e7265a80fffe9355de592
tree91b6d244ad792759ed1bf7ff6582c5bba4c3f0c4
parentce04abc3fcc62cd5640af981ebfd7c4dc3bded28
wifi: cfg80211: fix MLO connection ownership

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

Fixes: 9ecff10e82a5 ("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>
net/wireless/nl80211.c