Browse Source

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 năm trước cách đây
mục cha
commit
e3ef7c646d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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();
 }