diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-11-16 14:41:52 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-11-26 13:49:54 +0300 |
commit | c47240cb46a10c40686ce4e25c64aaed676f71c9 (patch) | |
tree | 24a5db1faa5bf5f34907289797c4b4516dbac109 /net/wireless/wext-sme.c | |
parent | 3536672bbdc2e7093333be85c945a63aef4c6bb8 (diff) | |
download | linux-c47240cb46a10c40686ce4e25c64aaed676f71c9.tar.xz |
cfg80211: schedule offchan_cac_abort_wk in cfg80211_radar_event
If necessary schedule offchan_cac_abort_wk work in cfg80211_radar_event
routine adding offchan parameter to cfg80211_radar_event signature.
Rename cfg80211_radar_event in __cfg80211_radar_event and introduce
the two following inline helpers:
- cfg80211_radar_event
- cfg80211_offchan_radar_event
Doing so the drv will not need to run cfg80211_offchan_cac_abort() after
radar detection on the offchannel chain.
Tested-by: Owen Peng <owen.peng@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/3ff583e021e3343a3ced54a7b09b5e184d1880dc.1637062727.git.lorenzo@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/wext-sme.c')
0 files changed, 0 insertions, 0 deletions