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

Commit ae8e01b2 authored by Chris Manton's avatar Chris Manton
Browse files

Suppress logging qualcomm debug unknown handle message

Bug: 143697964
Test: Verified logging messages suppressed during operation

Change-Id: Ic38bb6addbec348ef38d0801322d006109ad377a
parent f0b905fb
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);