瀏覽代碼

qcacld-3.0: Fix TDLS peer idle timer memory leaks

TDLS peer list is deleted before TDLS exit
called, due to this TDLS peer idle timer
resources are not cleared correctly and
causes memory leak in the system.
Make sure TDLS peer list is deleted only
in TDLS exit function.

Change-Id: I2885d0ff21fa55a0514c68c40a9a15200bc4ed9a
CRs-Fixed: 2002378
Kabilan Kannan 8 年之前
父節點
當前提交
5a5b8640a7
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      core/hdd/src/wlan_hdd_tdls.c

+ 0 - 1
core/hdd/src/wlan_hdd_tdls.c

@@ -2510,7 +2510,6 @@ void wlan_hdd_tdls_disconnection_callback(hdd_adapter_t *pAdapter)
 	wlan_hdd_tdls_check_power_save_prohibited(pHddTdlsCtx->pAdapter);
 
 	wlan_hdd_tdls_timers_stop(pHddTdlsCtx);
-	wlan_hdd_tdls_free_list(pHddTdlsCtx);
 
 	pHddTdlsCtx->curr_candidate = NULL;