]> 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)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:36:11 +0000 (08:36 -0400)
commit6b6374fdc982235f1e98e7460a55c1fe177ffa2c
tree7c4c057c6a37c096aaf06893858edc0bc67b6563
parentff9c326dda8cf25e0d856597f74fc1da7f8c1fc6
ath9k: Clear key cache explicitly on disabling hardware

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