wifi: cfg80211: remove BSS pointer from cfg80211_disassoc_request
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Jun 2022 14:19:18 +0000 (16:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:16 +0000 (11:43 +0200)
commit8f6e0dfc2245d8ca1a3335a06a1219c56df04bb8
tree7d11c72e2c13dd7a3f24577554262e67cfcda36c
parent98b0b467466c6afe8f2863158383444fbbc5f322
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>
include/net/cfg80211.h
net/mac80211/mlme.c
net/wireless/core.h
net/wireless/mlme.c
net/wireless/trace.h