--- src/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event.c b/src/event.c index 5f1fc9f..7fc8f02 100644 --- a/src/event.c +++ b/src/event.c @@ -419,7 +419,7 @@ void btd_event_conn_complete(bdaddr_t *local, bdaddr_t *peer, uint8_t bdaddr_typ update_lastused(local, peer, bdaddr_type); if (class != 0) - write_remote_class(local, peer, class); + device_set_class(device, class); device_set_addr_type(device, bdaddr_type); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html