]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mt76: mt7925: fix the wrong bss cleanup for SAP
authorMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Mon, 28 Jul 2025 05:26:12 +0000 (13:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 16:58:17 +0000 (18:58 +0200)
commit089fd41902ee6e7b280dfddbb3a6a7d09abb5569
treee2c0cd513fbf3cc03f4ce8554decff40c3342a79
parenteefa2ad9009b242005dc0afc9c6ddef7a9162011
wifi: mt76: mt7925: fix the wrong bss cleanup for SAP

commit 55424e7b9eeb141d9c8d8a8740ee131c28490425 upstream.

When in SAP mode, if a STA disconnect, the SAP's BSS
should not be cleared.

Fixes: 0ebb60da8416 ("wifi: mt76: mt7925: adjust rm BSS flow to prevent next connection failure")
Cc: stable@vger.kernel.org
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Link: https://patch.msgid.link/20250728052612.39751-1-mingyen.hsieh@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mediatek/mt76/mt7925/main.c