diff options
Diffstat (limited to 'system/stack/gatt/gatt_main.cc')
-rw-r--r-- | system/stack/gatt/gatt_main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/stack/gatt/gatt_main.cc b/system/stack/gatt/gatt_main.cc index 2ce057db87..c4e1039a95 100644 --- a/system/stack/gatt/gatt_main.cc +++ b/system/stack/gatt/gatt_main.cc @@ -189,7 +189,7 @@ void gatt_find_in_device_record(const RawAddress& bd_addr, if (p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) { if (p_dev_rec->ble.identity_address_with_type.bda.IsEmpty()) { - *address_with_type = {.type = p_dev_rec->ble.ble_addr_type, + *address_with_type = {.type = p_dev_rec->ble.AddressType(), .bda = bd_addr}; return; } |