android_kernel_xiaomi_sm8350/core/sap
Abhishek Singh 8d11564b56 qcacld-3.0: Fix memory leak of sap_ctx->channelList
In sap_deinit_ctx() the check to free sap_ctx->channelList is after
sap_ctx is memset to 0 and thus sap_ctx->channelList will always be
NULL and memory will never get freed.

Also there is no need to reset scan_vdev_del_in_progress after vdev
is deleted in firmware as there still can be the race when scan is
processed. scan_vdev_del_in_progress will be deleted with obj_mgr
vdev so no need to reset it.

Change-Id: Ie5f133d4db48485434436e67ce1643d8e1e04106
CRs-Fixed: 2342039
2018-11-01 04:20:16 -07:00
..
inc qcacld-3.0: Update multiple generic INI items using MLME CFG [Part 2] 2018-10-09 04:05:07 -07:00
src qcacld-3.0: Fix memory leak of sap_ctx->channelList 2018-11-01 04:20:16 -07:00