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)
commit710e6cc1595e25378c4b9977f7a8b4ad4a72a109
tree003e544bcee747dc5fed626ecbecb83b282f5138
parent09db3b000619b38d504e1fff66efed33dfacb6c0
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