]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a873bbd9cb8480bb9d64a4b0908ee9aab43da23
tree7d11c72e2c13dd7a3f24577554262e67cfcda36c
parent5fe1941690cab11b56a6b1dfe4ab5c5300eefbe6
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