85b455ee99d36ec4d74242230b5dc4b8a99d7c92

When a SSR SAP restart happens, hdd_ssr_restart_sap invokes wlan_hdd_start_sap. In this function, IE buffers for sap_config is allocated as part of wlan_hdd_cfg80211_update_apies and then copied to csr_profile in wlansap_start_bss and then SAP FSM Starts the SAP. The memory allocated for IE buffers in sap_config needs to be freed in both SAP Start Success and failure cases without which, in case of multiple SSRs, each time new malloc is done and will lead to memory leak. Free the IE buffers in sap_config in wlan_hdd_start_sap in both SAP Start success and failure cases. Change-Id: I43035c786444d0dfbcfaba9038a09cf345263b10 CRs-Fixed: 2168107
This is CNSS WLAN Host Driver for products starting from iHelium
Описание
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%