aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.c')
-rw-r--r--src/event.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/event.c b/src/event.c
index d0e192ba..30666354 100644
--- a/src/event.c
+++ b/src/event.c
@@ -247,9 +247,8 @@ static void update_lastused(bdaddr_t *sba, bdaddr_t *dba)
}
void btd_event_device_found(bdaddr_t *local, bdaddr_t *peer, addr_type_t type,
- uint32_t class, int8_t rssi,
- uint8_t confirm_name, uint8_t *data,
- uint8_t data_len)
+ int8_t rssi, uint8_t confirm_name,
+ uint8_t *data, uint8_t data_len)
{
struct btd_adapter *adapter;
@@ -260,12 +259,11 @@ void btd_event_device_found(bdaddr_t *local, bdaddr_t *peer, addr_type_t type,
}
update_lastseen(local, peer);
- write_remote_class(local, peer, class);
if (data)
write_remote_eir(local, peer, data);
- adapter_update_found_devices(adapter, peer, type, class, rssi,
+ adapter_update_found_devices(adapter, peer, type, rssi,
confirm_name, data, data_len);
}