wifi: mt76: ignore key disable commands
authorFelix Fietkau <nbd@nbd.name>
Thu, 30 Mar 2023 09:12:59 +0000 (11:12 +0200)
committerKalle Valo <kvalo@kernel.org>
Mon, 3 Apr 2023 13:50:20 +0000 (16:50 +0300)
commite6db67fa871dee37d22701daba806bfcd4d9df49
tree31c6c4f623e1584c3d9c2cc02179fef9f346817a
parentcf5fa3ca0552f1b7ba8490de40700bbfb6979b17
wifi: mt76: ignore key disable commands

This helps avoid cleartext leakage of already queued or powersave buffered
packets, when a reassoc triggers the key deletion.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230330091259.61378-1-nbd@nbd.name
drivers/net/wireless/mediatek/mt76/mt7603/main.c
drivers/net/wireless/mediatek/mt76/mt7615/mac.c
drivers/net/wireless/mediatek/mt76/mt7615/main.c
drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
drivers/net/wireless/mediatek/mt76/mt7915/main.c
drivers/net/wireless/mediatek/mt76/mt7921/main.c
drivers/net/wireless/mediatek/mt76/mt7996/main.c