mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
qcacld-3.0: Check the state before starting tdls timer
Since tdls_implicit_enable will be called in different scenarios, and there is error level output if repeated start same timer. So check the state before starting tdls timer. Change-Id: Id023affa016f337286dad539298a9bbc15381091 CRs-Fixed: 2747370
This commit is contained in:
parent
ab079ed334
commit
a0a03562ea
1 changed files with 3 additions and 1 deletions
|
|
@ -692,7 +692,9 @@ void tdls_timer_restart(struct wlan_objmgr_vdev *vdev,
|
|||
qdf_mc_timer_t *timer,
|
||||
uint32_t expiration_time)
|
||||
{
|
||||
qdf_mc_timer_start(timer, expiration_time);
|
||||
if (QDF_TIMER_STATE_RUNNING !=
|
||||
qdf_mc_timer_get_current_state(timer))
|
||||
qdf_mc_timer_start(timer, expiration_time);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue