- Avoid stopping sniff timer before checking for service
ID entry for which bta_sys_conn_close is called since if
entry is not present we return without re-starting timer
and ACL doesn't go into sniff.
Change-Id: I063da8e58e067ade5d646debf086bb443066106c
if(i> p_bta_dm_pm_cfg[0].app_id)
return;
- bta_dm_pm_stop_timer(peer_addr);
/*p_dev = bta_dm_find_peer_device(peer_addr);*/
#if (BTM_SSR_INCLUDED == TRUE)
bta_dm_conn_srvcs.conn_srvc[j].state = status;
}
+ /* stop timer */
+ bta_dm_pm_stop_timer(peer_addr);
+
if(p_dev)
{
p_dev->pm_mode_attempted = 0;