summaryrefslogtreecommitdiff
path: root/system/stack/gatt/gatt_main.cc
diff options
context:
space:
mode:
authorRob Seymour <rseymour@google.com>2022-04-02 03:52:13 +0000
committerRob Seymour <rseymour@google.com>2022-04-02 04:01:22 +0000
commit4c7dc59bef24cc991251f9a7924ceada90c6bd63 (patch)
treea90550aa3ce1bc5e002ab6444c96954deca81af0 /system/stack/gatt/gatt_main.cc
parent6fa2bea006b362a285f744f65f15b5902e55797a (diff)
parentdd4d23c4e1de011f8cd4eb132422172d5e283a73 (diff)
Merge TP1A.220328.001
Change-Id: I5f07094ba2fb3991da03673f97d2957b1f68018b
Diffstat (limited to 'system/stack/gatt/gatt_main.cc')
-rw-r--r--system/stack/gatt/gatt_main.cc2
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;
}