mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
qcacld-3.0: Fix SapAllChnlList memory leak
qcacld-2.0 to qcacld-3.0 propagation "MEMORY_DEBUG" enabled driver shows the SapAllChnlList is not freed upon driver unloading in SNS test. This commit fixes this issue by freeing channel list in WLANSAP_CLOSE API. Change-Id: I1c954336e14746060fec19f3ad89b3d4882306af CRs-Fixed: 985334
This commit is contained in:
parent
71ed6502ea
commit
df50df97c3
1 changed files with 2 additions and 0 deletions
|
|
@ -456,6 +456,8 @@ QDF_STATUS wlansap_close(void *pCtx)
|
|||
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO_HIGH,
|
||||
"wlansap_close");
|
||||
|
||||
sap_cleanup_channel_list(pCtx);
|
||||
|
||||
/* empty queues/lists/pkts if any */
|
||||
wlansap_clean_cb(pSapCtx, true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue