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

Commit f522466b authored by Sukesh Srikakula's avatar Sukesh Srikakula Committed by Gerrit Code Review
Browse files

Merge "Set ID_BIT in own_addr_type only when local privacy is enabled"

parents 373cef9e de429999
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -364,7 +364,9 @@ static bool btm_ble_start_auto_conn() {
  btm_ble_enable_resolving_list_for_platform(BTM_BLE_RL_INIT);
  if (btm_cb.ble_ctr_cb.rl_state != BTM_BLE_RL_IDLE &&
      controller_get_interface()->supports_ble_privacy()) {
#if (BLE_LOCAL_PRIVACY_ENABLED == TRUE)
    own_addr_type |= BLE_ADDR_TYPE_ID_BIT;
#endif
    peer_addr_type |= BLE_ADDR_TYPE_ID_BIT;
  }