]> git.baikalelectronics.ru Git - kernel.git/commit
rt2800: do not nullify initialization vector data
authorStanislaw Gruszka <sgruszka@redhat.com>
Sat, 15 Jun 2019 10:00:58 +0000 (12:00 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:10:11 +0000 (08:10 +0300)
commit5dd7a48efed1a92665d43deaee284b321c8aa56c
tree003e544bcee747dc5fed626ecbecb83b282f5138
parentba3e658346de6f8a7256294f7f54f4994037a353
rt2800: do not nullify initialization vector data

If we restart hw we should keep existing IV (initialization vector)
otherwise HW encryption will be broken after restart.

Also fix some coding style issues on the way.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c