wifi: cfg80211: move regulatory_hint_found_beacon to be earlier
authorBenjamin Berg <benjamin.berg@intel.com>
Fri, 16 Jun 2023 06:53:58 +0000 (09:53 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 10:05:28 +0000 (12:05 +0200)
commitc2edd3013266801d9c8595433c6eea462511f872
tree6c860a0923bb53c1fc8b07f8a085853393415d4b
parent40e38c8dfce1cf543c8bd06e2c1c03a36bc22fe4
wifi: cfg80211: move regulatory_hint_found_beacon to be earlier

These calls do not require any locking, so move them in preparation for
the next patches.

A minor change/bugfix is to not hint a beacon for nontransmitted BSSes

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.a5bf3558eae9.I33c7465d983c8bef19deb7a533ee475a16f91774@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c