wifi: cfg80211: remove chandef check in cfg80211_cac_event()
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Jun 2022 10:49:03 +0000 (12:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 10:05:48 +0000 (12:05 +0200)
commitd6f671c8a339d5b655acfacb8be6918c744fbabf
tree8ea8cb319f4de7ea498de4a5ebff6b05b943786c
parent31177127e067eb73d5ca46ce32a410e41333d42f
wifi: cfg80211: remove chandef check in cfg80211_cac_event()

The current check only worked for AP mode, but we can do
radar detection in mesh as well (for example). We could
try to check this using wdev_chandef(), but we also don't
really care since the chandef is passed in and we have no
need to use it anymore (since we added the argument in
commit d2859df5e7f0 ("cfg80211/mac80211: DFS setup chandef
for cac event")).

Change-Id: I856e4344d5e64ff4d2eead0b4c53b11f264be9b8
Fixes: 7b0a0e3c3a88 ("wifi: cfg80211: do some rework towards MLO link APIs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/mlme.c