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

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

Merge "system/stack/smp: Conflict resolution for libbluetooth_log migration" into main

parents 325cbc62 8f0e4b3f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -894,6 +894,7 @@ cc_test {
        "server_configurable_flags",
    ],
    static_libs: [
        "libbase",
        "libbluetooth-types",
        "libbluetooth_crypto_toolbox",
        "libbluetooth_gd",
+4 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
#define LOG_TAG "smp_act"

#include <android_bluetooth_flags.h>
#include <bluetooth/log.h>

#include <cstring>

@@ -41,6 +42,8 @@
#include "stack/include/smp_api_types.h"
#include "types/raw_address.h"

using namespace bluetooth;

namespace {
constexpr char kBtmLogTag[] = "SMP";
}
@@ -1951,7 +1954,7 @@ void smp_process_secure_connection_oob_data(tSMP_CB* p_cb,
  }

  if (!p_sc_oob_data->peer_oob_data.present) {
    LOG_VERBOSE("peer OOB data is absent");
    log::verbose("peer OOB data is absent");
    p_cb->peer_random = {0};
  } else {
    p_cb->peer_random = p_sc_oob_data->peer_oob_data.randomizer;