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

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

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

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

Change-Id: I874afed011faf7cd2e47f543a593749576bf7e28
parents 3fae9ea6 af42dcf7
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(