]> 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)
commitf41636d69ba5e380c4cee53a29202dc724c22dc2
tree003e544bcee747dc5fed626ecbecb83b282f5138
parentb86f975cd5435602225d363f94c77521dc9b30d4
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