diff --git a/tools/gap-tester.c b/tools/gap-tester.c
index c0252ca..d788626 100644
--- a/tools/gap-tester.c
+++ b/tools/gap-tester.c
{
tester_print("Connected to daemon");
- hciemu_stack = hciemu_new();
+ hciemu_stack = hciemu_new(HCIEMU_TYPE_BREDRLE);
}
static void disconnect_handler(DBusConnection *connection, void *user_data)
diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index a99a18e..cf2d960 100644
--- a/tools/mgmt-tester.c
+++ b/tools/mgmt-tester.c
uint16_t mgmt_revision;
uint16_t mgmt_index;
struct hciemu *hciemu;
+ enum hciemu_type hciemu_type;
int unmet_conditions;
};
mgmt_register(data->mgmt, MGMT_EV_INDEX_REMOVED, MGMT_INDEX_NONE,
index_removed_callback, NULL, NULL);
- data->hciemu = hciemu_new();
+ data->hciemu = hciemu_new(data->hciemu_type);
if (!data->hciemu) {
tester_warn("Failed to setup HCI emulation");
tester_pre_setup_failed();
user = malloc(sizeof(struct test_data)); \
if (!user) \
break; \
+ user->hciemu_type = HCIEMU_TYPE_BREDRLE; \
user->test_data = data; \
user->expected_version = 0x06; \
user->expected_manufacturer = 0x003f; \