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

Commit f2783fec authored by Zach Johnson's avatar Zach Johnson Committed by Automerger Merge Worker
Browse files

Move busy level setting for paging from btm_sec to l2c_link am: 751cc1df am: 114101e5

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

Change-Id: I4a0526b24ea2ff0bd531e0d81a0cef913b0684c1
parents cf01d22b 114101e5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2500,8 +2500,6 @@ static tBTM_STATUS btm_sec_dd_create_conn(tBTM_SEC_DEV_REC* p_dev_rec) {
  /* set up the control block to indicated dedicated bonding */
  btm_cb.pairing_flags |= BTM_PAIR_FLAGS_DISC_WHEN_DONE;

  btm_acl_update_busy_level(BTM_BLI_PAGE_EVT);

  VLOG(1) << "Security Manager: " << p_dev_rec->bd_addr;

  btm_sec_change_pairing_state(BTM_PAIR_STATE_WAIT_PIN_REQ);
+1 −0
Original line number Diff line number Diff line
@@ -1309,6 +1309,7 @@ tBTM_STATUS l2cu_ConnectAclForSecurity(const RawAddress& bd_addr) {
  }

  l2cu_create_conn_br_edr(p_lcb);
  btm_acl_update_busy_level(BTM_BLI_PAGE_EVT);
  return BTM_SUCCESS;
}