nl80211: Zero out the connection keys memory when freeing them.
authorOla Olsson <ola1olsson@gmail.com>
Thu, 11 Feb 2016 00:00:22 +0000 (01:00 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 23 Feb 2016 09:40:36 +0000 (10:40 +0100)
commit5e950a78bf5b18ded277a27aed0bcdbe7c1b868a
tree572e9f403c7867c65f605343fcb9527d2e1e87c8
parent7a36b930e6ed4702c866dc74a5ad07318a57c688
nl80211: Zero out the connection keys memory when freeing them.

The connection keys are zeroed out in all other cases except this
one. Let's fix the last one as well.

Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c