Patch "wifi: mac80211: Abort running color change when stopping the AP" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    wifi: mac80211: Abort running color change when stopping the AP

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     wifi-mac80211-abort-running-color-change-when-stoppi.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 9c996886a419cd21d53657f963acbf96162ed03a
Author: Michael Lee <michael-cy.lee@xxxxxxxxxxxx>
Date:   Thu May 4 16:04:41 2023 +0800

    wifi: mac80211: Abort running color change when stopping the AP
    
    [ Upstream commit a23d7f5b2fbda114de60c4b53311e052281d7533 ]
    
    When stopping the AP, there might be a color change in progress. It
    should be deactivated here, or the driver might later finalize a color
    change on a stopped AP.
    
    Fixes: 5f9404abdf2a (mac80211: add support for BSS color change)
    Signed-off-by: Michael Lee <michael-cy.lee@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230504080441.22958-1-michael-cy.lee@xxxxxxxxxxxx
    Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index fb8d80ebe8bbb..5ddbe0c8cfaa1 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1512,9 +1512,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);



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux