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

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

Merge "RootCanal: Less verbose scan responses"

parents c5a2b645 3cb3ef4e
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -1566,8 +1566,6 @@ void LinkLayerController::IncomingLeScanResponsePacket(
  auto adv_type = scan_response.GetAdvertisementType();
  auto adv_type = scan_response.GetAdvertisementType();
  auto address_type =
  auto address_type =
      static_cast<LeAdvertisement::AddressType>(scan_response.GetAddressType());
      static_cast<LeAdvertisement::AddressType>(scan_response.GetAddressType());
  LOG_INFO("Scan response with %s",
           bluetooth::hci::OpCodeText(le_scan_enable_).c_str());
  if (le_scan_enable_ == bluetooth::hci::OpCode::LE_SET_SCAN_ENABLE) {
  if (le_scan_enable_ == bluetooth::hci::OpCode::LE_SET_SCAN_ENABLE) {
    if (adv_type != model::packets::AdvertisementType::SCAN_RESPONSE) {
    if (adv_type != model::packets::AdvertisementType::SCAN_RESPONSE) {
      return;
      return;