]> 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)
commite49cbef6186083f91161f95e81aeca3622c9cf94
tree7d11c72e2c13dd7a3f24577554262e67cfcda36c
parentf0912fc6cca0638933df81ad8c9c91aa5f5277b8
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