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

Commit 37922b34 authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Re-log stack/btm/btm_sec::btm_sec_link_key_notification

Bug: 188074901
Tag: #refactor
Test: gd/cert/run

Change-Id: I3e7626f8fe834415a099c3c991b28c97b1ee60fb
parent 6e8b266f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -3811,7 +3811,8 @@ void btm_sec_link_key_notification(const RawAddress& p_bda,
  bool we_are_bonding = false;
  bool ltk_derived_lk = false;

  VLOG(2) << __func__ << " BDA: " << p_bda << ", TYPE: " << +key_type;
  LOG_DEBUG("New link key generated device:%s key_type:%hhu",
            PRIVATE_ADDRESS(p_bda), key_type);

  if ((key_type >= BTM_LTK_DERIVED_LKEY_OFFSET + BTM_LKEY_TYPE_COMBINATION) &&
      (key_type <=
@@ -4084,8 +4085,8 @@ void btm_sec_pin_code_request(uint8_t* p_event) {
  /* it may need to stretch timeouts                */
  l2c_pin_code_request(p_bda);

  VLOG(2) << __func__ << " BDA: " << p_bda
          << " state: " << btm_pair_state_descr(btm_cb.pairing_state);
  LOG_DEBUG("Controller requests PIN code device:%s state:%s",
            PRIVATE_ADDRESS(p_bda), btm_pair_state_descr(btm_cb.pairing_state));

  RawAddress local_bd_addr = *controller_get_interface()->get_address();
  if (p_bda == local_bd_addr) {