wifi: mt76: mt7921: fix using incorrect group cipher after disconnection.
authorMichael Lo <michael.lo@mediatek.com>
Thu, 1 Aug 2024 02:43:35 +0000 (10:43 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 14 Jan 2025 12:34:33 +0000 (13:34 +0100)
commitaa566ac6b7272e7ea5359cb682bdca36d2fc7e73
treea3237a7c6b789959a194fb826b06bce309ceddd4
parentf1b1e133a770fcdbd89551651232b034d2f7a27a
wifi: mt76: mt7921: fix using incorrect group cipher after disconnection.

To avoid incorrect cipher after disconnection, we should
do the key deletion process in this case.

Fixes: e6db67fa871d ("wifi: mt76: ignore key disable commands")
Signed-off-by: Michael Lo <michael.lo@mediatek.com>
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Tested-by: David Ruth <druth@chromium.org>
Reviewed-by: David Ruth <druth@chromium.org>
Link: https://patch.msgid.link/20240801024335.12981-1-mingyen.hsieh@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/main.c