52d639291baff2431590c3b9116db17d64291dea
[openwrt/openwrt.git] / package / kernel / ath10k-ct / patches / 300-mac80211-5.10.patch
1 --- a/ath10k-5.8/wmi.c
2 +++ b/ath10k-5.8/wmi.c
3 @@ -4254,7 +4254,7 @@ void ath10k_wmi_event_host_swba(struct a
4 * actual channel switch is done
5 */
6 if (arvif->vif->csa_active &&
7 - ieee80211_csa_is_complete(arvif->vif)) {
8 + ieee80211_beacon_cntdwn_is_complete(arvif->vif)) {
9 ieee80211_csa_finish(arvif->vif);
10 continue;
11 }
12 --- a/ath10k-5.8/mac.c
13 +++ b/ath10k-5.8/mac.c
14 @@ -2295,8 +2295,8 @@ static void ath10k_mac_vif_ap_csa_count_
15 if (!arvif->is_up)
16 return;
17
18 - if (!ieee80211_csa_is_complete(vif)) {
19 - ieee80211_csa_update_counter(vif);
20 + if (!ieee80211_beacon_cntdwn_is_complete(vif)) {
21 + ieee80211_beacon_update_cntdwn(vif);
22
23 ret = ath10k_mac_setup_bcn_tmpl(arvif);
24 if (ret)