OSDN Git Service

Unnecessary l2cap idle timer is being restarted everytime mode change to active
authorMudumba Ananth <ananthm@broadcom.com>
Fri, 4 Jul 2014 06:51:38 +0000 (23:51 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 30 Jul 2014 23:58:10 +0000 (16:58 -0700)
Bug: 16560957
Change-Id: I543cab003dbf2be9e5f63667f32bdeb78d1d56d1

stack/btm/btm_pm.c

index 7582f9a..76bfc04 100644 (file)
@@ -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);
         }
     }