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

Commit 0d952986 authored by Myles Watson's avatar Myles Watson
Browse files

ClassicConnection: Clarify packet-drop message

Tag: #gd-refactor
Bug: 145832107
Test: atest bluetooth_test_gd
Test: gd/cert/run --host
Change-Id: I7cbffc1a9d928ec6dbb9e494a726a8a45a937d39
parent 4a83dc0f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -73,7 +73,6 @@ struct assembler {
  }

  void on_incoming_packet(AclPacketView packet) {
    // TODO: What happens if the connection is stalled and fills up?
    PacketView<kLittleEndian> payload = packet.GetPayload();
    auto payload_size = payload.size();
    auto packet_boundary_flag = packet.GetPacketBoundaryFlag();
@@ -108,7 +107,7 @@ struct assembler {
      }
    }
    if (incoming_queue_.size() > kMaxQueuedPacketsPerConnection) {
      LOG_ERROR("Dropping packet due to congestion from remote:%s", address_with_type_.ToString().c_str());
      LOG_ERROR("Dropping packet from %s due to congestion", address_with_type_.ToString().c_str());
      return;
    }