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

Commit fa7388de authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "RootCanal: Use 1 for completed packets" am: af42dcf7 am: 6f45040b

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2020937

Change-Id: I921aa08e86ec2ecaf13098171123aa4464f9e9bf
parents 47322d18 6f45040b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -355,7 +355,7 @@ void DualModeController::HandleAcl(
    std::vector<bluetooth::hci::CompletedPackets> completed_packets;
    bluetooth::hci::CompletedPackets cp;
    cp.connection_handle_ = handle;
    cp.host_num_of_completed_packets_ = kNumCommandPackets;
    cp.host_num_of_completed_packets_ = 1;
    completed_packets.push_back(cp);
    send_event_(bluetooth::hci::NumberOfCompletedPacketsBuilder::Create(
        completed_packets));
@@ -379,7 +379,7 @@ void DualModeController::HandleSco(
    std::vector<bluetooth::hci::CompletedPackets> completed_packets;
    bluetooth::hci::CompletedPackets cp;
    cp.connection_handle_ = handle;
    cp.host_num_of_completed_packets_ = kNumCommandPackets;
    cp.host_num_of_completed_packets_ = 1;
    completed_packets.push_back(cp);
    if (properties_.GetSynchronousFlowControl()) {
      send_event_(bluetooth::hci::NumberOfCompletedPacketsBuilder::Create(