From: Andrei Otcheretianski Date: Wed, 20 Dec 2023 11:41:36 +0000 (+0200) Subject: wifi: mac80211: Schedule regulatory channels check on bandwith change X-Git-Tag: v6.8-rc1~131^2~29^2~35 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=513b1a168c8767d5090493bd03ca7fa0a837e465;p=linux-block.git wifi: mac80211: Schedule regulatory channels check on bandwith change Some devices may support concurrent DFS operation which relies on the BSS channel width for its relaxations. Notify cfg80211 about BW change so it can schedule regulatory checks. Signed-off-by: Andrei Otcheretianski Reviewed-by: Gregory Greenman Signed-off-by: Miri Korenblit Link: https://msgid.link/20231220133549.e08f8e9ebc67.If8915d13e203ebd380579f55fd9148e9b3f43306@changeid Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 0c7ce022d2ed..643b2653e38c 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -598,6 +598,7 @@ static int ieee80211_config_bw(struct ieee80211_link_data *link, return ret; } + cfg80211_schedule_channels_check(&sdata->wdev); return 0; }