aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/wmi.c
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2020-08-11 10:01:04 +0200
committerJohannes Berg <johannes.berg@intel.com>2020-08-27 14:12:15 +0200
commit8552a434b6a05cc38006733afe6a239ad4d600a2 (patch)
treee08c603c1ef4b8bf5285bd2c5f988b9137561b82 /drivers/net/wireless/ath/ath10k/wmi.c
parentnl80211: rename csa counter attributes countdown counters (diff)
downloadlinux-dev-8552a434b6a05cc38006733afe6a239ad4d600a2.tar.xz
linux-dev-8552a434b6a05cc38006733afe6a239ad4d600a2.zip
mac80211: rename csa counters to countdown counters
We want to reuse the functions and structs for other counters such as BSS color change. Rename them to more generic names. Signed-off-by: John Crispin <john@phrozen.org> Link: https://lore.kernel.org/r/20200811080107.3615705-2-john@phrozen.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wmi.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
index a81a1ab2de19..b661d4ec5d52 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.c
+++ b/drivers/net/wireless/ath/ath10k/wmi.c
@@ -3878,7 +3878,7 @@ void ath10k_wmi_event_host_swba(struct ath10k *ar, struct sk_buff *skb)
* 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;
}