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