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

Commit b22cfca3 authored by Hansong Zhang's avatar Hansong Zhang Committed by Automerger Merge Worker
Browse files

ACL minor clean up am: 518ff48f am: cdc17a0a

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

Change-Id: I81ae2ef5794e9ec16d92292f251d347c53f9d3e1
parents 60eb0718 cdc17a0a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -66,7 +66,6 @@ typedef struct {
    return is_transport_ble() || is_transport_br_edr();
  }

  uint16_t clock_offset;
  uint16_t flush_timeout_in_ticks;
  uint16_t hci_handle;
  uint16_t link_policy;
+1 −6
Original line number Diff line number Diff line
@@ -703,7 +703,7 @@ void btm_acl_encrypt_change(uint16_t handle, uint8_t status,
  }
}

void check_link_policy(uint16_t* settings) {
static void check_link_policy(uint16_t* settings) {
  const controller_t* controller = controller_get_interface();

  if ((*settings & HCI_ENABLE_CENTRAL_PERIPHERAL_SWITCH) &&
@@ -1395,11 +1395,6 @@ uint8_t BTM_GetPeerSCA(const RawAddress& remote_bda, tBT_TRANSPORT transport) {
 *
 ******************************************************************************/
void btm_process_clk_off_comp_evt(uint16_t hci_handle, uint16_t clock_offset) {
  uint8_t xx;
  /* Look up the connection by handle and set the current mode */
  xx = btm_handle_to_acl_index(hci_handle);
  if (xx < MAX_L2CAP_LINKS)
    btm_cb.acl_cb_.acl_db[xx].clock_offset = clock_offset;
}

/*******************************************************************************