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

Commit 751cc1df authored by Zach Johnson's avatar Zach Johnson
Browse files

Move busy level setting for paging from btm_sec to l2c_link

Not quite the final home, but much closer to where it should be

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I3af29610adc6ca873f3c5ea0892413a458ecbd34
parent 2fe69cb8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2499,8 +2499,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;
}