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

Commit b32c535f authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk
Browse files

btm: Add info log for SIRK confirmation trace

This adds log for SIRK confirmation trace. This could help in
investigating flow of SIRK confirmation.

Tag: #fetature
Bug: 278514112
Test: manual
Change-Id: I883ff67cdf54e0f45674c53d606f29febf2b9f72
parent 102b7e22
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2073,6 +2073,8 @@ void BTM_BleSirkConfirmDeviceReply(const RawAddress& bd_addr, uint8_t res) {
  tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr);
  tSMP_STATUS res_smp = (res == BTM_SUCCESS) ? SMP_SUCCESS : SMP_FAIL;

  LOG_INFO("Confirmation result: %s", smp_status_text(res_smp).c_str());

  if (p_dev_rec == NULL) {
    LOG_ERROR("Confirmation of Unknown device");
    return;