aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.c')
-rw-r--r--src/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.c b/src/event.c
index 30666354..91ce103e 100644
--- a/src/event.c
+++ b/src/event.c
@@ -261,7 +261,7 @@ void btd_event_device_found(bdaddr_t *local, bdaddr_t *peer, addr_type_t type,
update_lastseen(local, peer);
if (data)
- write_remote_eir(local, peer, data);
+ write_remote_eir(local, peer, data, data_len);
adapter_update_found_devices(adapter, peer, type, rssi,
confirm_name, data, data_len);