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

Commit 8bd3538b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 9f1d2fd6 37922b34
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) {