Diff between 13a9856d7ece00ba70184533a5cb5bc7c3c27e36 and f954a1073aab670bcb019865824c1730e7b14cff
Changed Files
| File | Additions | Deletions | Status |
| src/event.c | +1 | -1 | modified |
Full Patch
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);