Test: builds
Change-Id: Ibc6b1d94f49bd711e7844ae769c384f76d357f22
break;
default:
/* we should never get this */
- LOG_ERROR(bt_layer_tags[trace_layer], "%s", buffer);
+ LOG_ERROR(bt_layer_tags[trace_layer], "!BAD TRACE TYPE! %s", buffer);
+ CHECK(TRACE_GET_TYPE(trace_set_mask) == TRACE_TYPE_ERROR);
break;
}
}
module_init(get_module(INTEROP_MODULE));
hci = hci_layer_get_interface();
- if (!hci)
+ if (!hci) {
LOG_ERROR(LOG_TAG, "%s could not get hci layer interface.", __func__);
+ return;
+ }
btu_hci_msg_queue = fixed_queue_new(SIZE_MAX);
if (btu_hci_msg_queue == NULL) {