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

Commit 19c96937 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Remove unused var tBTM_SEC_DEV_REC::link_key_changed am: ddc963e8

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1449257

Change-Id: I4ff7ad5f1fdfb8a02576f4ccf132d8b5fae6d0fb
parents 656679f8 ddc963e8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3643,8 +3643,6 @@ void btm_sec_connected(const RawAddress& bda, uint16_t handle, uint8_t status,
    p_dev_rec->sec_flags |= (BTM_SEC_16_DIGIT_PIN_AUTHED << bit_shift);
  }

  p_dev_rec->link_key_changed = false;

  /* After connection is established we perform security if we do not know */
  /* the name, or if we are originator because some procedure can have */
  /* been scheduled while connection was down */
+0 −1
Original line number Diff line number Diff line
@@ -298,7 +298,6 @@ typedef struct {
  bool link_key_not_sent; /* link key notification has not been sent waiting for
                             name */
  uint8_t link_key_type;  /* Type of key used in pairing   */
  bool link_key_changed;  /* Changed link key during current connection */

#define BTM_MAX_PRE_SM4_LKEY_TYPE \
  BTM_LKEY_TYPE_REMOTE_UNIT /* the link key type used by legacy pairing */