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

Commit 357ee6eb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "RootCanal: Do not report an invalid packet for unsupported LE Apcf...

Merge "RootCanal: Do not report an invalid packet for unsupported LE Apcf Transport Discovert Service command" into main
parents 1bbda6d2 f05dc4e2
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3107,6 +3107,14 @@ void DualModeController::LeApcf(CommandView command) {
          apcf_available_spaces));
      break;
    }
    case bluetooth::hci::ApcfOpcode::TRANSPORT_DISCOVERY_SERVICE: {
      DEBUG(id_, "<< LE APCF Transport Discovery Service");

      send_event_(bluetooth::hci::LeApcfCompleteBuilder::Create(
          kNumCommandPackets, ErrorCode::INVALID_HCI_COMMAND_PARAMETERS,
          command_view.GetApcfOpcode(), std::vector<uint8_t>{}));
      break;
    }
    case bluetooth::hci::ApcfOpcode::AD_TYPE_FILTER: {
      auto subcommand_view =
          bluetooth::hci::LeApcfAdTypeFilterView::Create(command_view);