diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-06-01 22:42:28 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-06-20 12:55:48 +0200 |
commit | 325839da9581ee3e881e9c318cbebbdd680cb101 (patch) | |
tree | 13d21d116f75904ac4ce871c6b283ac6f6eebdfb /net/wireless/core.h | |
parent | 0f48b8b88aa9ed7b65d7cb55dbc57ec914ddada1 (diff) | |
download | linux-325839da9581ee3e881e9c318cbebbdd680cb101.tar.gz linux-325839da9581ee3e881e9c318cbebbdd680cb101.tar.bz2 linux-325839da9581ee3e881e9c318cbebbdd680cb101.zip |
wifi: cfg80211: simplify cfg80211_mlme_auth() prototype
This function has far too many parameters now, move out
the BSS lookup and pass the request struct instead.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index f20857f36764..fd723fa5e2d7 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -363,13 +363,7 @@ int cfg80211_stop_ap(struct cfg80211_registered_device *rdev, /* MLME */ int cfg80211_mlme_auth(struct cfg80211_registered_device *rdev, struct net_device *dev, - struct ieee80211_channel *chan, - enum nl80211_auth_type auth_type, - const u8 *bssid, - const u8 *ssid, int ssid_len, - const u8 *ie, int ie_len, - const u8 *key, int key_len, int key_idx, - const u8 *auth_data, int auth_data_len); + struct cfg80211_auth_request *req); int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_assoc_request *req); |