Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c77de5d4 authored by dcxu's avatar dcxu
Browse files

Modify log level for exceptional return branches in

l2c_link_check_send_pkts()

Bug: 317482448
Flag: EXEMPT, logging only change
Test: mma packages/modules/Bluetooth
Change-Id: I4f0240cac3fdb08f0555a529bcf995ee614ab8f6
parent e5d2e677
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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(