wifi: mac80211: Abort running CCA when stopping AP
Subsystems (2)
PATCH 1/1 wifi: mac80211: Abort running CCA when stopping AP
From: Michael Lee <[email protected]>
Signed-off-by Michael Lee <[email protected]>
--- net/mac80211/cfg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
net/mac80211/cfg.c +2 -1
@@ -1537,9 +1537,10 @@ static int ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev,sdata_dereference (link->u.ap.unsol_bcast_probe_resp, sdata); -/* abort any running channel switch */ +/* abort any running channel switch or color change */ mutex_lock (&local->mtx); link_conf->csa_active = false; + link_conf->color_change_active = false;if (link->csa_block_tx) {ieee80211_wake_vif_queues (local, sdata,IEEE80211_QUEUE_STOP_REASON_CSA );
Signature · 1 line
2.25.1
Johannes Berg
maintainerQuoted 3 lines · Michael-CY Lee
From: Michael Lee <[email protected]>
Signed-off-by Michael Lee <[email protected]>
A commit message would be nice. And maybe a fixes tag?
Also "CCA" is something else, not related to color change, not even sure where the "A" came from?
johannes