]> git.baikalelectronics.ru Git - 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)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 17 Dec 2020 06:51:10 +0000 (08:51 +0200)
commitc3ae5f2e55052b16d019fdf8bf464ea0ac6c42ac
tree20d77d97bad852f27c0fe76c7e03b8f003a54537
parentc0432a1b270a727444c9160bf6554028a98c5bfb
ath9k: Clear key cache explicitly on disabling hardware

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
drivers/net/wireless/ath/ath9k/main.c