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

Commit 45f79347 authored by Myles Watson's avatar Myles Watson
Browse files

Remove LeCreateConnectionCancelStatus

Bug: 145832107
Tag: #gd-refactor
Test: cert/run --host
Change-Id: I0c574bb748cb7bdf884c911a5272bb485e85e50f
parent 90e64a19
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2579,9 +2579,6 @@ packet LeCreateConnectionStatus : CommandStatus (command_op_code = LE_CREATE_CON
packet LeCreateConnectionCancel : LeConnectionManagementCommand (op_code = LE_CREATE_CONNECTION_CANCEL) {
}

packet LeCreateConnectionCancelStatus : CommandStatus (command_op_code = LE_CREATE_CONNECTION_CANCEL) {
}

packet LeCreateConnectionCancelComplete : CommandComplete (command_op_code = LE_CREATE_CONNECTION_CANCEL) {
  status : ErrorCode,
}
+2 −2
Original line number Diff line number Diff line
@@ -1604,8 +1604,8 @@ void DualModeController::LeConnectionCancel(CommandPacketView command) {
      gd_hci::LeConnectionManagementCommandView::Create(command));
  ASSERT(command_view.IsValid());
  link_layer_controller_.SetLeConnect(false);
  auto packet = bluetooth::hci::LeCreateConnectionCancelStatusBuilder::Create(
      ErrorCode::SUCCESS, kNumCommandPackets);
  auto packet = bluetooth::hci::LeCreateConnectionCancelCompleteBuilder::Create(
      kNumCommandPackets, ErrorCode::SUCCESS);
  send_event_(std::move(packet));
  /* For testing Jakub's patch:  Figure out a neat way to call this without
     recompiling.  I'm thinking about a bad device. */