wifi: cfg80211: keep bss_lock held when informing
authorBenjamin Berg <benjamin.berg@intel.com>
Fri, 16 Jun 2023 06:53:59 +0000 (09:53 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 10:05:28 +0000 (12:05 +0200)
commit6b7c93c1439c8833ada9068f612df2de0571fd00
tree9682a1a4469b6e4cb7dea5c6b910ff0a82bf286e
parentc2edd3013266801d9c8595433c6eea462511f872
wifi: cfg80211: keep bss_lock held when informing

It is reasonable to hold bss_lock for a little bit longer after
cfg80211_bss_update is done. Right now, this does not make any big
difference, but doing so in preparation for the next patch which adds
a call to the driver.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230616094948.61701884ff0d.I3358228209eb6766202aff04d1bae0b8fdff611f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c