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

Commit 3f7ae470 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Automerger Merge Worker
Browse files

Do not warn on unknown ACL credits am: 06628bb4 am: a92bb3cd

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1739635

Change-Id: I08473e0ad661b3621ed8719d81e092115515e88b
parents d71d7e58 a92bb3cd
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -215,7 +215,6 @@ std::unique_ptr<AclBuilder> RoundRobinScheduler::handle_enqueue_next_fragment()
void RoundRobinScheduler::incoming_acl_credits(uint16_t handle, uint16_t credits) {
  auto acl_queue_handler = acl_queue_handlers_.find(handle);
  if (acl_queue_handler == acl_queue_handlers_.end()) {
    LOG_INFO("Dropping %hx received credits to unknown connection 0x%0hx", credits, handle);
    return;
  }

+0 −1
Original line number Diff line number Diff line
@@ -1258,7 +1258,6 @@ void l2c_link_process_num_completed_pkts(uint8_t* p, uint8_t evt_len) {
void l2c_packets_completed(uint16_t handle, uint16_t num_sent) {
  tL2C_LCB* p_lcb = l2cu_find_lcb_by_handle(handle);
  if (p_lcb == nullptr) {
    LOG_WARN("Received l2c packets completed for unknown ACL");
    return;
  }
  p_lcb->update_outstanding_packets(num_sent);