]> granicus.if.org Git - esp-idf/commitdiff
l2cap can send data to low layer when close the classic bt.
authorYulong <huangyulong@espressif.com>
Tue, 18 Apr 2017 09:42:55 +0000 (05:42 -0400)
committerYulong <huangyulong@espressif.com>
Tue, 18 Apr 2017 09:42:55 +0000 (05:42 -0400)
components/bt/bluedroid/stack/l2cap/l2c_link.c

index 09d7fae92f45c8cb1a5e181b6774bb28c65fa241..c22650d761bbd4f3898dbae20aea00c165a6ffa7 100644 (file)
@@ -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;
                 }