qcacld-3.0: Reset RSN IE for every connect

Reset RSN IE for every Connect. This RSN IE
will be overwritten with RSN IE if present.

If we don't reset then connect will use PMF
capability in RSN IE from previous connection
and will expect Deauth frame to be protected
even if connection is open.

Change-Id: I626ceb831556d17cd185a050b28d8d7a19344e68
CRs-Fixed: 2890563
此提交包含在:
Utkarsh Bhatnagar
2021-03-03 20:01:42 +05:30
提交者 snandini
父節點 b0e55caac4
當前提交 4228022501

查看文件

@@ -19650,6 +19650,9 @@ static void hdd_populate_crypto_params(struct wlan_objmgr_vdev *vdev,
{
uint32_t set_val = 0;
/* Resetting the RSN caps for every connection */
wlan_crypto_set_vdev_param(vdev, WLAN_CRYPTO_PARAM_RSN_CAP, set_val);
if (req->crypto.n_akm_suites) {
hdd_populate_crypto_akm_type(vdev, req->crypto.akm_suites[0]);
} else {