瀏覽代碼

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
Srinivas Dasari 6 年之前
父節點
當前提交
e3ef7c646d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/hdd/src/wlan_hdd_assoc.c

+ 1 - 0
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();
 }