diff options
author | injun.yang <injun.yang@samsung.com> | 2020-02-26 20:16:02 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2020-03-03 10:16:03 +0900 |
commit | 72dfc889fc0687e7077c0869d83ff5691e7b3d18 (patch) | |
tree | a220043cbe40eb4d430a7668d899b923b37e012e /src | |
parent | e2e06d3a76083abdd7b4195e2a432b2aa4d09540 (diff) | |
download | bluez-72dfc889fc0687e7077c0869d83ff5691e7b3d18.tar.gz bluez-72dfc889fc0687e7077c0869d83ff5691e7b3d18.tar.bz2 bluez-72dfc889fc0687e7077c0869d83ff5691e7b3d18.zip |
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 <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/device.c | 5 |
1 files changed, 3 insertions, 2 deletions
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, |