From: Mudumba Ananth Date: Fri, 4 Jul 2014 06:51:38 +0000 (-0700) Subject: Unnecessary l2cap idle timer is being restarted everytime mode change to active X-Git-Tag: android-x86-7.1-r1~1281^2~127^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=664fe1edc3064d430a37139b4e28aa17ca87afa1;p=android-x86%2Fsystem-bt.git Unnecessary l2cap idle timer is being restarted everytime mode change to active Bug: 16560957 Change-Id: I543cab003dbf2be9e5f63667f32bdeb78d1d56d1 --- diff --git a/stack/btm/btm_pm.c b/stack/btm/btm_pm.c index 7582f9a56..76bfc048b 100644 --- a/stack/btm/btm_pm.c +++ b/stack/btm/btm_pm.c @@ -860,8 +860,6 @@ void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode, U /* Trigger L2C to start transmission of the pending packets. */ BTM_TRACE_DEBUG("btm mode change to active; check l2c_link for outgoing packets"); l2c_link_check_send_pkts(p_lcb, NULL, NULL); - - //btu_stop_timer (&p_lcb->timer_entry); } }