wifi: cfg80211: refactor regulatory beaconing checking
authorJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 10:09:48 +0000 (12:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2024 11:04:25 +0000 (13:04 +0200)
commit9fd171a71b9d4cd8855891c0ba7e2a152139b41a
tree168e84e347d062ebada2352a737d0d0738f289b4
parent459662e83db6eb33f648213bba2c509f4d6dead9
wifi: cfg80211: refactor regulatory beaconing checking

There are two functions exported now, with different settings,
refactor to just export a single function that take a struct
with different settings. This will make it easier to add more
parameters.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://msgid.link/20240523120945.d44c34dadfc2.I59b4403108e0dbf7fc6ae8f7522e1af520cffb1c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/chan.c