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

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

Re-log btm_sec_check_upgrade am: d7adb076 am: 53ef0fbb am: b26b2050

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

Change-Id: I97b9640c18ea7e333051b6bd2615342ccaf66918
parents 2268cc01 b26b2050
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1448,6 +1448,12 @@ static void btm_sec_check_upgrade(tBTM_SEC_DEV_REC* p_dev_rec,
tBTM_STATUS btm_sec_l2cap_access_req_by_requirement(
    const RawAddress& bd_addr, uint16_t security_required, bool is_originator,
    tBTM_SEC_CALLBACK* p_callback, void* p_ref_data) {
  LOG_DEBUG(
      "Checking l2cap access requirements peer:%s security:0x%x "
      "is_initiator:%s",
      PRIVATE_ADDRESS(bd_addr), security_required,
      logbool(is_originator).c_str());

  tBTM_STATUS rc = BTM_SUCCESS;
  bool chk_acp_auth_done = false;
  /* should check PSM range in LE connection oriented L2CAP connection */