aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2012-02-23 11:58:26 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-23 22:40:32 +0200
commit2f3ebee35ea749e15dafd6c8a8169989a9fc8656 (patch)
tree6f666b6129d050def1dc6ec0697608e55a794c9b /plugins
parent484150cbfd46ec98456af9c5faf42a6f5a78d9fb (diff)
downloadbluez-2f3ebee35ea749e15dafd6c8a8169989a9fc8656.tar.gz
bluez-2f3ebee35ea749e15dafd6c8a8169989a9fc8656.tar.xz
bluez-2f3ebee35ea749e15dafd6c8a8169989a9fc8656.zip
mgmtops: Handle "Class Of Device Changed" event
This avoids misleading "Unknown Management opcode 7 (index 0)" errors.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mgmtops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 4a7bfff5..91b4a221 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;