wifi: cfg80211: mlme: get BSS entry outside cfg80211_mlme_assoc()
authorJohannes Berg <johannes.berg@intel.com>
Tue, 31 May 2022 16:00:00 +0000 (18:00 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:55:43 +0000 (12:55 +0200)
commit0f7594489a8ab154edb899e84f877def0b48fbd0
tree0cec0310ceaf416cf38c63c44dac80b1bcb199c2
parent27f852de7e5c70f9172de6120e12d6c498069006
wifi: cfg80211: mlme: get BSS entry outside cfg80211_mlme_assoc()

Today it makes more sense to pass the necessary parameters to
look up the BSS entry to cfg80211_mlme_assoc(), but with MLO
we will need to look up multiple, and that gets awkward. Pull
the lookup code into the callers so we can change it better.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/sme.c