qcacmn: Initialize keydata with 0 in delkey

delkey is using the existing keydata instead of memeset to 0

CR Fixed: 2393644
Change-Id: I7ee6718647d27d31e302e670e2bf12ce0fcdec8e
This commit is contained in:
Gurumoorthi Gnanasambandhan 2019-02-08 16:26:42 +05:30 • committed by nshrivas
commit 612a906f4e

View file

@ -1091,6 +1091,7 @@ QDF_STATUS wlan_crypto_delkey(struct wlan_objmgr_vdev *vdev,
if (key->valid) {
cipher_table = (struct wlan_crypto_cipher *)key->cipher_table;
qdf_mem_zero(key->keyval, sizeof(key->keyval));
if (WLAN_CRYPTO_TX_OPS_DELKEY(psoc)) {
WLAN_CRYPTO_TX_OPS_DELKEY(psoc)(vdev, key,