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

Commit cc82a18e authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "SDP: Set address in tBTM_REMOTE_DEV_NAME" into tm-d1-dev am: ad84277d

parents 135f4999 ad84277d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -966,7 +966,7 @@ static bool bta_dm_read_remote_device_name(const RawAddress& bd_addr,

    /* Remote name discovery is on going now so BTM cannot notify through
     * "bta_dm_remname_cback" */
    /* adding callback to get notified that current reading remore name done */
    /* adding callback to get notified that current reading remote name done */

    if (bluetooth::shim::is_gd_security_enabled()) {
      bluetooth::shim::BTM_SecAddRmtNameNotifyCallback(
@@ -1879,6 +1879,8 @@ static void bta_dm_service_search_remname_cback(const RawAddress& bd_addr,

  APPL_TRACE_DEBUG("%s name=<%s>", __func__, bd_name);

  rem_name.bd_addr = bd_addr;

  /* if this is what we are looking for */
  if (bta_dm_search_cb.peer_bdaddr == bd_addr) {
    rem_name.length = strlcpy((char*)rem_name.remote_bd_name, (char*)bd_name,
+3 −0
Original line number Diff line number Diff line
@@ -1443,7 +1443,10 @@ void btm_process_remote_name(const RawAddress* bda, const BD_NAME bdn,
  uint16_t temp_evt_len;

  if (bda) {
    rem_name.bd_addr = *bda;
    VLOG(2) << "BDA " << *bda;
  } else {
    rem_name.bd_addr = RawAddress::kEmpty;
  }

  VLOG(2) << "Inquire BDA " << p_inq->remname_bda;