Sven Eckelmann <sven@xxxxxxxxxxxxx> wrote: > DISABLE_KEY sets the key_len to 0, firmware will not delete the keys if > key_len is 0. Changing from security mode to open mode will cause mcast > to be still encrypted without vdev restart. > > Set the proper key_len for DISABLE_KEY cmd to clear the keys in > firmware. > > Tested-on: IPQ6018 hw1.0 AHB WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1 > > Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") > Reported-by: Sven Eckelmann <sven@xxxxxxxxxxxxx> > Signed-off-by: Karthikeyan Kathirvel <kathirve@xxxxxxxxxxxxxx> > [sven@xxxxxxxxxxxxx: split into separate patches, clean up commit message] > Signed-off-by: Sven Eckelmann <sven@xxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> 2 patches applied to ath-next branch of ath.git, thanks. 436a4e886598 ath11k: clear the keys properly via DISABLE_KEY 64bc3aa02ae7 ath11k: reset RSN/WPA present state for open BSS -- https://patchwork.kernel.org/project/linux-wireless/patch/20211115100441.33771-1-sven@xxxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches