]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: Abort running color change when stopping the AP
authorMichael Lee <michael-cy.lee@mediatek.com>
Thu, 4 May 2023 08:04:41 +0000 (16:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:32:46 +0000 (17:32 +0100)
commit7d44e7ec0ab78ab38ae528ceef35e68e905dc65b
treef81343da2bbb8a5dd144da7acfdf1b7ff8ad0518
parentc6767fc0791866de6c8312062c672f59bac72377
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: 971349f67467 (mac80211: add support for BSS color change)
Signed-off-by: Michael Lee <michael-cy.lee@mediatek.com>
Link: https://lore.kernel.org/r/20230504080441.22958-1-michael-cy.lee@mediatek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/cfg.c