linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/2] mgmtops: Handle "Class Of Device Changed" event
@ 2012-02-23 15:58 Anderson Lizardo
  2012-02-23 15:58 ` [PATCH BlueZ 2/2] mgmtops: Add SET_LE/SET_SSP command complete handling Anderson Lizardo
  0 siblings, 1 reply; 3+ messages in thread
From: Anderson Lizardo @ 2012-02-23 15:58 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Anderson Lizardo

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-23 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-23 15:58 [PATCH BlueZ 1/2] mgmtops: Handle "Class Of Device Changed" event Anderson Lizardo
2012-02-23 15:58 ` [PATCH BlueZ 2/2] mgmtops: Add SET_LE/SET_SSP command complete handling Anderson Lizardo
2012-02-23 20:41   ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).