]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: clear up IV's on key removal
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 23 Aug 2019 12:48:03 +0000 (14:48 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:51:30 +0000 (16:51 +0300)
commitd97405ed899a7cf21e826bd1f8f1dfefaee664ae
treed31b03fdd843b0f4e9ed57d69f7a2a07610ff60a
parenteb7019629a158dc9da7150ce652873c87c3093af
rt2x00: clear up IV's on key removal

After looking at code I realized that my previous fix
8baaeacb8443 ("rt2x00: clear IV's on start to fix AP mode regression")
was incomplete. We can still have wrong IV's after re-keyring.
To fix that, clear up IV's also on key removal.

Fixes: f41636d69ba5 ("rt2800: do not nullify initialization vector data")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
tested-by: Emil Karlson <jekarl@iki.fi>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c