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

Commit 702ee9f8 authored by Henri Chataing's avatar Henri Chataing Committed by Gerrit Code Review
Browse files

Merge "RootCanal: Minor fixes"

parents 9c3efeb8 53d12da5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
#include <sstream>
#include <vector>

#include "os/log.h"
#include "log.h"

namespace bluetooth {
namespace hci {
+1 −1
Original line number Diff line number Diff line
@@ -1464,7 +1464,7 @@ void LinkLayerController::LeAdvertising() {
            type = model::packets::LegacyAdvertisingType::ADV_NONCONN_IND;
            break;
          default:
            ASSERT(
            LOG_ALWAYS_FATAL(
                "unexpected raw advertising event properties;"
                " please check the extended advertising parameter validation");
            break;
+2 −2
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ void PhyLayer::Register(std::shared_ptr<PhyDevice> device) {
}

void PhyLayer::Unregister(PhyDevice::Identifier id) {
  for (auto device : phy_devices_) {
  for (auto& device : phy_devices_) {
    if (device->id == id) {
      device->Unregister(this);
      phy_devices_.remove(device);
@@ -38,7 +38,7 @@ void PhyLayer::Unregister(PhyDevice::Identifier id) {
}

void PhyLayer::UnregisterAll() {
  for (auto device : phy_devices_) {
  for (auto& device : phy_devices_) {
    device->Unregister(this);
  }
  phy_devices_.clear();