Commit 1f3b8a2b authored by Simon Wunderlich's avatar Simon Wunderlich Committed by Johannes Berg

mac80211: don't leak next beacon when csa is aborted

Signed-off-by: default avatarSimon Wunderlich <>
Signed-off-by: default avatarJohannes Berg <>
parent beffd138
......@@ -1080,6 +1080,9 @@ static int ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev)
/* abort any running channel switch */
sdata->vif.csa_active = false;
sdata->u.ap.next_beacon = NULL;
/* turn off carrier for this interface and dependent VLANs */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment