From: Yulong Date: Tue, 18 Apr 2017 09:42:55 +0000 (-0400) Subject: l2cap can send data to low layer when close the classic bt. X-Git-Tag: v2.1-rc1~154^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65ff8bd16079d1ed3768ec13c1144a70f77288c6;p=esp-idf l2cap can send data to low layer when close the classic bt. --- diff --git a/components/bt/bluedroid/stack/l2cap/l2c_link.c b/components/bt/bluedroid/stack/l2cap/l2c_link.c index 09d7fae92f..c22650d761 100644 --- a/components/bt/bluedroid/stack/l2cap/l2c_link.c +++ b/components/bt/bluedroid/stack/l2cap/l2c_link.c @@ -1185,7 +1185,7 @@ void l2c_link_check_send_pkts (tL2C_LCB *p_lcb, tL2C_CCB *p_ccb, BT_HDR *p_buf) while ((l2cb.controller_xmit_window != 0) && (p_lcb->sent_not_acked < p_lcb->link_xmit_quota)) #endif { - L2CAP_TRACE_DEBUG("l2cu_get_next_buffer_to_send = %p",l2cu_get_next_buffer_to_send(p_lcb)); + //L2CAP_TRACE_DEBUG("l2cu_get_next_buffer_to_send = %p",l2cu_get_next_buffer_to_send(p_lcb)); if ((p_buf = l2cu_get_next_buffer_to_send (p_lcb)) == NULL) { break; }