Re: [PATCH 2/2] wifi: ath10k: update the channel list if change in channel flags.

From: Youghandhar Chintala (Temp)
Date: Thu Jan 19 2023 - 00:50:00 EST



On 1/19/2023 7:56 AM, Wen Gong wrote:
On 12/22/2022 8:42 PM, Youghandhar Chintala wrote:
...
  +static void ath10k_mac_beacon_notifier(struct wiphy *wiphy)
+{
+    struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
+    struct ath10k *ar = hw->priv;
+
+    if (ath10k_update_channel_list(ar))
+        ath10k_warn(ar, "failed to update channel list\n");
+}
+

Will this called while scan is running?
On ath11k, if send channel list to firmware, then the running scan will be cancel and removed.
I guess this is same for ath10k.

...

Yes Wen. You are right.

Regards,

Youghandhar