aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-05-31 18:00:00 +0200
committerJohannes Berg <johannes.berg@intel.com>2022-06-20 12:55:43 +0200
commit0f7594489a8ab154edb899e84f877def0b48fbd0 (patch)
tree0cec0310ceaf416cf38c63c44dac80b1bcb199c2 /net/wireless/core.h
parentwifi: mac80211: tx: simplify chanctx_conf handling (diff)
downloadlinux-dev-0f7594489a8ab154edb899e84f877def0b48fbd0.tar.xz
linux-dev-0f7594489a8ab154edb899e84f877def0b48fbd0.zip
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>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index 2c195067ddff..f20857f36764 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -372,9 +372,6 @@ int cfg80211_mlme_auth(struct cfg80211_registered_device *rdev,
const u8 *auth_data, int auth_data_len);
int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev,
struct net_device *dev,
- struct ieee80211_channel *chan,
- const u8 *bssid,
- const u8 *ssid, int ssid_len,
struct cfg80211_assoc_request *req);
int cfg80211_mlme_deauth(struct cfg80211_registered_device *rdev,
struct net_device *dev, const u8 *bssid,