From 2f3ebee35ea749e15dafd6c8a8169989a9fc8656 Mon Sep 17 00:00:00 2001 From: Anderson Lizardo Date: Thu, 23 Feb 2012 11:58:26 -0400 Subject: [PATCH] mgmtops: Handle "Class Of Device Changed" event This avoids misleading "Unknown Management opcode 7 (index 0)" errors. --- plugins/mgmtops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c index 4a7bfff54..91b4a2218 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; -- 2.47.3