This is a note to let you know that I've just added the patch titled wifi: cfg80211: remove chandef check in cfg80211_cac_event() to the 5.19-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: wifi-cfg80211-remove-chandef-check-in-cfg80211_cac_event.patch and it can be found in the queue-5.19 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From d6f671c8a339d5b655acfacb8be6918c744fbabf Mon Sep 17 00:00:00 2001 From: Johannes Berg <johannes.berg@xxxxxxxxx> Date: Mon, 27 Jun 2022 12:49:03 +0200 Subject: wifi: cfg80211: remove chandef check in cfg80211_cac_event() From: Johannes Berg <johannes.berg@xxxxxxxxx> commit d6f671c8a339d5b655acfacb8be6918c744fbabf upstream. 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@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- net/wireless/mlme.c | 3 --- 1 file changed, 3 deletions(-) --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c @@ -955,9 +955,6 @@ void cfg80211_cac_event(struct net_devic if (WARN_ON(!wdev->cac_started && event != NL80211_RADAR_CAC_STARTED)) return; - if (WARN_ON(!wdev->links[0].ap.chandef.chan)) - return; - switch (event) { case NL80211_RADAR_CAC_FINISHED: timeout = wdev->cac_start_time + Patches currently in stable-queue which might be from johannes.berg@xxxxxxxxx are queue-5.19/wifi-cfg80211-remove-chandef-check-in-cfg80211_cac_event.patch queue-5.19/wifi-cfg80211-do-some-rework-towards-mlo-link-apis.patch queue-5.19/wifi-mac80211-reject-wep-or-pairwise-keys-with-key-i.patch queue-5.19/wifi-mac80211_hwsim-use-32-bit-skb-cookie.patch queue-5.19/wifi-mac80211_hwsim-add-back-erroneously-removed-cast.patch queue-5.19/wifi-mac80211-set-sta-deflink-addresses.patch queue-5.19/wifi-mac80211-move-some-future-per-link-data-to-bss_.patch queue-5.19/wifi-mac80211_hwsim-fix-race-condition-in-pending-packet.patch queue-5.19/wifi-cfg80211-handle-ibss-in-channel-switch.patch queue-5.19/wifi-nl80211-acquire-wdev-mutex-for-dump_survey.patch queue-5.19/wifi-nl80211-hold-wdev-mutex-for-tid-config.patch queue-5.19/wifi-nl80211-acquire-wdev-mutex-earlier-in-start_ap.patch queue-5.19/wifi-nl80211-relax-wdev-mutex-check-in-wdev_chandef.patch