Fix for the crash in TDLS timers.
Introduce an API wlan_hdd_tdls_timer_restart to start any TDLS
timer. This API make sure that sta and AP connection is present
before restarting TDLS timer.
CRs-Fixed: 464577
Change-Id: Iac76258553f9d8022a54170855dd6b0623c9d1cf
diff --git a/CORE/HDD/inc/wlan_hdd_tdls.h b/CORE/HDD/inc/wlan_hdd_tdls.h
index d5f5b06..2e9744f 100644
--- a/CORE/HDD/inc/wlan_hdd_tdls.h
+++ b/CORE/HDD/inc/wlan_hdd_tdls.h
@@ -238,4 +238,8 @@
void wlan_hdd_tdls_scan_done_callback(hdd_adapter_t *pAdapter);
+void wlan_hdd_tdls_timer_restart(hdd_adapter_t *pAdapter,
+ vos_timer_t *timer,
+ v_U32_t expirationTime);
+
#endif // __HDD_TDSL_H