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

Commit b7c8e50e authored by Chris Manton's avatar Chris Manton Committed by android-build-merger
Browse files

Suppress logging qualcomm debug unknown handle message am: ae8e01b2

am: 6bc92668

Change-Id: I91a8aabde68d6279f8f9dda10a46a377acd4c020
parents 7e7afe3d 6bc92668
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -30,6 +30,8 @@
namespace bluetooth {
namespace hci {

constexpr uint16_t kQualcommDebugHandle = 0xedc;

using common::Bind;
using common::BindOnce;

@@ -221,6 +223,9 @@ struct AclManager::impl {
      return;
    }
    uint16_t handle = packet->GetHandle();
    if (handle == kQualcommDebugHandle) {
      return;
    }
    auto connection_pair = acl_connections_.find(handle);
    if (connection_pair == acl_connections_.end()) {
      LOG_INFO("Dropping packet of size %zu to unknown connection 0x%0hx", packet->size(), handle);