staging: wfx: keys are kept during whole firmware life
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 20 Apr 2020 16:03:06 +0000 (18:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 11:26:05 +0000 (13:26 +0200)
commit9da38fd5a90655c308e59398d169f4d3efd16377
tree19f2802cf0b506bcc78298689e9a07884d3b24b5
parent7a44644c9379eb1bbb03ce8054a0b0179f470146
staging: wfx: keys are kept during whole firmware life

Keys sent to the firmware are never reset. So, it is not necessary to
re-upload them after hif_reset(). Thus, it is no more necessary to keep
a copy of the keys in struct wfx_dev.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200420160311.57323-12-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/key.c
drivers/staging/wfx/key.h
drivers/staging/wfx/sta.c
drivers/staging/wfx/wfx.h