Переглянути джерело

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;