]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ath9k: Clear key cache explicitly on disabling hardware
authorJouni Malinen <jouni@codeaurora.org>
Mon, 14 Dec 2020 17:21:15 +0000 (19:21 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 24 Sep 2021 10:27:40 +0000 (12:27 +0200)
commit45b260e6234252b729dfd303aa9da79343bb971f
treeef4bfc3d6603458ac0036dc6c705ba42af982263
parent02f1e67b0a43f32a3717fb24f6b6d596154cf6ed
ath9k: Clear key cache explicitly on disabling hardware

BugLink: https://bugs.launchpad.net/bugs/1944212
commit 73488cb2fa3bb1ef9f6cf0d757f76958bd4deaca upstream.

Now that ath/key.c may not be explicitly clearing keys from the key
cache, clear all key cache entries when disabling hardware to make sure
no keys are left behind beyond this point.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201214172118.18100-3-jouni@codeaurora.org
Cc: Pali Rohár <pali@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/net/wireless/ath/ath9k/main.c