Android Q Preview 4 Release 0.4 (QPP4.190502.018,bonito/sargo)
qcacld-3.0: Fix memzero of key_params in wma_set_stakey

In wma_set_stakey key_params is memset to 0 in first loop for num_key
while being used in subsequent loops for num_key.
So with key_params all zero the vdev id used to send for next key is
always 0.

So memset key_params after loop before returning from wma_set_stakey.

Change-Id: I3990a5c5017f068bb41914c6e38c4e8c2155bb19
CRs-Fixed: 2441622
Bug: 130662095
Signed-off-by: Srinivas Girigowda <quic_sgirigow@quicinc.com>
1 file changed
tree: ca9e29fda2024330723b9ba5a8c919abc120d30d
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. OWNERS
  8. README.txt