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

Commit a3c8411f authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "gatt: Fix direct connect" am: 24478087 am: 027a4b90 am: f1abfd4d

parents 83b1158a f1abfd4d
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -2868,11 +2868,13 @@ bool acl_create_le_connection_with_id(uint8_t id, const RawAddress& bd_addr,
      .bda = bd_addr,
      .type = addr_type,
  };
  if (address_with_type.type == BLE_ADDR_PUBLIC) {

  gatt_find_in_device_record(bd_addr, &address_with_type);
  }
  LOG_DEBUG("Creating le direct connection to:%s",
            ADDRESS_TO_LOGGABLE_CSTR(address_with_type));

  LOG_DEBUG("Creating le direct connection to:%s type:%s (initial type: %s)",
            ADDRESS_TO_LOGGABLE_CSTR(address_with_type),
            AddressTypeText(address_with_type.type).c_str(),
            AddressTypeText(addr_type).c_str());

  if (address_with_type.type == BLE_ADDR_ANONYMOUS) {
    LOG_WARN(