diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-06-27 16:19:18 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 11:43:16 +0200 |
commit | 8f6e0dfc2245d8ca1a3335a06a1219c56df04bb8 (patch) | |
tree | 7d11c72e2c13dd7a3f24577554262e67cfcda36c /net/wireless/core.h | |
parent | wifi: mac80211: mlme: use correct link_sta (diff) | |
download | linux-8f6e0dfc2245d8ca1a3335a06a1219c56df04bb8.tar.xz linux-8f6e0dfc2245d8ca1a3335a06a1219c56df04bb8.zip |
wifi: cfg80211: remove BSS pointer from cfg80211_disassoc_request
The race described by the comment in mac80211 hasn't existed
since the locking rework to use the same lock and for MLO we
need to pass the AP MLD address, so just pass the BSSID or
AP MLD address instead of the BSS struct pointer, and adjust
all the code accordingly.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index fd723fa5e2d7..e72ca6eefafb 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -372,7 +372,7 @@ int cfg80211_mlme_deauth(struct cfg80211_registered_device *rdev, const u8 *ie, int ie_len, u16 reason, bool local_state_change); int cfg80211_mlme_disassoc(struct cfg80211_registered_device *rdev, - struct net_device *dev, const u8 *bssid, + struct net_device *dev, const u8 *ap_addr, const u8 *ie, int ie_len, u16 reason, bool local_state_change); void cfg80211_mlme_down(struct cfg80211_registered_device *rdev, |