qcacld-3.0: Free memory allocated to FILS info in roam profile

Memory allocated to FILS info is not getting freed in some
cases such as back to back connection and disconnect handler.

Add changes to free memory in these cases.

CRs-Fixed: 2047172
Change-Id: I5baf4555d956045cb65eedbc87daef3045732286
This commit is contained in:
Srinivas Dasari
2018-12-28 13:16:09 +05:30
committed by nshrivas
parent e23f3f8097
commit e3ef7c646d

View File

@@ -1584,6 +1584,7 @@ static void hdd_clear_roam_profile_ie(struct hdd_adapter *adapter)
sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter); sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
sta_ctx->auth_key_mgmt = 0; sta_ctx->auth_key_mgmt = 0;
qdf_zero_macaddr(&sta_ctx->requested_bssid); qdf_zero_macaddr(&sta_ctx->requested_bssid);
hdd_clear_fils_connection_info(adapter);
hdd_exit(); hdd_exit();
} }