summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbta/dm/bta_dm_act.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bta/dm/bta_dm_act.c b/bta/dm/bta_dm_act.c
index 3b3f93b..3c93f23 100755
--- a/bta/dm/bta_dm_act.c
+++ b/bta/dm/bta_dm_act.c
@@ -424,8 +424,9 @@ void bta_dm_disable (tBTA_DM_MSG *p_data)
if(BTM_GetNumAclLinks()==0)
{
- bta_dm_cb.disable_timer.p_cback = (TIMER_CBACK*)&bta_dm_disable_conn_down_timer_cback;
- bta_sys_start_timer(&bta_dm_cb.disable_timer, 0, 1000);
+ /* Earlier there used to be a 1-second timer to fire this callback.
+ * Doesn't look like it is needed. */
+ bta_dm_disable_conn_down_timer_cback(NULL);
}
else
{