diff --git a/src/mgmt.c b/src/mgmt.c
index 05b406f..2db07a9 100644
--- a/src/mgmt.c
+++ b/src/mgmt.c
bonding_complete(info, &ev->key.addr, 0);
}
-static void mgmt_cod_changed(uint16_t index, void *buf, size_t len)
-{
- struct controller_info *info;
-
- DBG("index %d", index);
-
- if (index > max_index) {
- error("Unexpected index %u in mgmt_cod_changed event", index);
- return;
- }
-
- info = &controllers[index];
-
- if (info->pending_cod_change) {
- info->pending_cod_change = FALSE;
- handle_pending_uuids(index);
- }
-
- mgmt_update_cod(index, buf, len);
-}
-
static gboolean mgmt_event(GIOChannel *channel, GIOCondition cond,
gpointer user_data)
{
mgmt_new_settings(index, buf + MGMT_HDR_SIZE, len);
break;
case MGMT_EV_CLASS_OF_DEV_CHANGED:
- mgmt_cod_changed(index, buf + MGMT_HDR_SIZE, len);
+ DBG("class_of_dev_changed event");
break;
case MGMT_EV_NEW_LINK_KEY:
mgmt_new_link_key(index, buf + MGMT_HDR_SIZE, len);