Thread (9 messages) 9 messages, 2 authors, 2012-11-16

[PATCH 6/8] event: Set device class in device object

flat view
STALE5074d

From: Frédéric Danis <hidden>
Date: 2012-11-15 17:31:39
Subsystem: the rest · Maintainer: Linus Torvalds

---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help