diff --git a/system/stack/l2cap/l2c_link.cc b/system/stack/l2cap/l2c_link.cc index a3f17bad682a4eef1ac33fca8185df135f3bb7af..9279a66311a673a82d4c7a3bc8f07a26e13e7dc3 100644 --- a/system/stack/l2cap/l2c_link.cc +++ b/system/stack/l2cap/l2c_link.cc @@ -828,7 +828,7 @@ void l2c_link_check_send_pkts(tL2C_LCB* p_lcb, uint16_t local_cid, ** This LCB will be served when receiving number of completed packet event. */ if (l2cb.is_cong_cback_context) { - log::info("skipping, is_cong_cback_context=true"); + log::warn("skipping, is_cong_cback_context=true"); return; } @@ -900,10 +900,11 @@ void l2c_link_check_send_pkts(tL2C_LCB* p_lcb, uint16_t local_cid, l2cb.ble_check_round_robin = false; } else /* if this is not round-robin service */ { - /* If a partial segment is being sent, can't send anything else */ + /* link_state or power mode not ready, can't send anything else */ if ((p_lcb->link_state != LST_CONNECTED) || (l2c_link_check_power_mode(p_lcb))) { - log::info("A partial segment is being sent, cannot send anything else"); + log::warn("Can't send, link state: {} not LST_CONNECTED or power mode BTM_PM_STS_PENDING", + p_lcb->link_state); return; } log::verbose(