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

Commit e90314e4 authored by Zach Johnson's avatar Zach Johnson Committed by android-build-merger
Browse files

Merge "Mark secure link as authenticated for LE" into cw-e-dev

am: 723c3048

* commit '723c3048':
  Mark secure link as authenticated for LE
parents 786803ec 723c3048
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -152,9 +152,9 @@ BOOLEAN BTM_SecAddDevice (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name,
        if (pin_length >= 16 ||
            key_type == BTM_LKEY_TYPE_AUTH_COMB ||
            key_type == BTM_LKEY_TYPE_AUTH_COMB_P_256) {
            // Set the fiag if the link key was made by using either a 16 digit
            // Set the flag if the link key was made by using either a 16 digit
            // pin or MITM.
            p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED;
            p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED | BTM_SEC_LINK_KEY_AUTHED;
        }
    }