From e3ef7c646d6bd9eedf159f3d98203df246ea3cce Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Fri, 28 Dec 2018 13:16:09 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_assoc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index c4170763b4..c452032a57 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -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->auth_key_mgmt = 0; qdf_zero_macaddr(&sta_ctx->requested_bssid); + hdd_clear_fils_connection_info(adapter); hdd_exit(); }