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

Commit 66815ce2 authored by Chris Manton's avatar Chris Manton
Browse files

le: Default to PUBLIC not RANDOM address type

Bug: 230051991
Tag: #refactor
Test: gd/cert/run
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Ignore-AOSP-First: cherry-pick

Change-Id: I11843870e7108be6868ed90c81b6e605b842fb70
parent d0a5a350
Loading
Loading
Loading
Loading
+15 −15
Original line number Diff line number Diff line
@@ -2763,7 +2763,7 @@ void acl_write_automatic_flush_timeout(const RawAddress& bd_addr,
bool acl_create_le_connection_with_id(uint8_t id, const RawAddress& bd_addr) {
  tBLE_BD_ADDR address_with_type{
      .bda = bd_addr,
        .type = BLE_ADDR_RANDOM,
      .type = BLE_ADDR_PUBLIC,
  };
  gatt_find_in_device_record(bd_addr, &address_with_type);
  LOG_DEBUG("Creating le direct connection to:%s",