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

Commit 52fdce4f 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...

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

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

Change-Id: I8985c52e33451334f59b7e9248ab044ba8a5e55f
parents 2e93a6e4 836dfdb2
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(