From 72dfc889fc0687e7077c0869d83ff5691e7b3d18 Mon Sep 17 00:00:00 2001 From: "injun.yang" Date: Wed, 26 Feb 2020 20:16:02 +0900 Subject: While LE scanning, send first RPA instead of IDA [Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] Internal [Occurrence Version] N/A [Problem] Durning LE scanning, unable to find a paired RPA device [Cause & Measure] Bluez report it as IDA instead of PRA. Handle it as RPA [Checking Method] LE scan for paired RPA device [Team] Convergence BT [Developer] Injun Yang [Solution company] Samsung [Change Type] Specification change Change-Id: I890fda13825172f759d4f4f317dfd053504c4c4b Signed-off-by: injun.yang Signed-off-by: DoHyun Pyun --- src/device.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/device.c b/src/device.c index 511660c6..2701bf78 100644 --- a/src/device.c +++ b/src/device.c @@ -9153,9 +9153,10 @@ void device_set_adv_report_info(struct btd_device *device, void *data, uint8_t d ba2str(&device->bdaddr, peer_addr); /* Replace address type for paired RPA device since IDA passed from controller */ - if (device->rpa) + if (device->rpa) { + ba2str(device->rpa, peer_addr); addr_type = BDADDR_LE_RANDOM; - else + } else addr_type = device->bdaddr_type; g_dbus_emit_signal(dbus_conn, device->path, -- cgit v1.2.3