Thread (3 messages) flat view 3 messages, 2 authors, 2012-02-23
STALE5320d

[PATCH BlueZ 1/2] mgmtops: Handle "Class Of Device Changed" event

From: Anderson Lizardo <hidden>
Date: 2012-02-23 15:58:26
Subsystem: the rest · Maintainer: Linus Torvalds

This avoids misleading "Unknown Management opcode 7 (index 0)" errors.
---
 plugins/mgmtops.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 4a7bfff..91b4a22 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -1587,6 +1587,9 @@ static gboolean mgmt_event(GIOChannel *io, GIOCondition cond, gpointer user_data
 	case MGMT_EV_NEW_SETTINGS:
 		mgmt_new_settings(sk, index, buf + MGMT_HDR_SIZE, len);
 		break;
+	case MGMT_EV_CLASS_OF_DEV_CHANGED:
+		DBG("hci%u Class of Device changed", index);
+		break;
 	case MGMT_EV_NEW_LINK_KEY:
 		mgmt_new_link_key(sk, index, buf + MGMT_HDR_SIZE, len);
 		break;
-- 
1.7.5.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help