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

Commit 4bc0bd81 authored by Chris Manton's avatar Chris Manton
Browse files

stack::sec::btm_sec_rmt_name_request_complete Log peer device

When rnr completes without a security record log the peer address too.

Bug: 347289482
Test: m .
Flag: EXEMPT, Logging Change

Change-Id: I601fbc2da5645095a722081d65a328671ecd1ca4
parent eee44c7d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2316,8 +2316,10 @@ void btm_sec_rmt_name_request_complete(const RawAddress* p_bd_addr,

  if (p_dev_rec == nullptr) {
    log::debug(
        "Remote read request complete for unknown device pairing_state:{} "
        "Remote read request complete for unknown device peer:{} "
        "pairing_state:{} "
        "status:{} name:{}",
        (p_bd_addr) ? ADDRESS_TO_LOGGABLE_CSTR(*p_bd_addr) : "null",
        tBTM_SEC_CB::btm_pair_state_descr(btm_sec_cb.pairing_state),
        hci_status_code_text(status), reinterpret_cast<char const*>(p_bd_name));