From f7ab1f6078cc9e2fc41e81907ec6bc45b4c7a633 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 19 Sep 2013 19:41:06 +0300 Subject: [PATCH] tools/l2cap-tester: Fix using right hciemu type --- tools/l2cap-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c index 53a08fd0b..20b84bef4 100644 --- a/tools/l2cap-tester.c +++ b/tools/l2cap-tester.c @@ -167,7 +167,7 @@ static void read_index_list_callback(uint8_t status, uint16_t length, mgmt_register(data->mgmt, MGMT_EV_INDEX_REMOVED, MGMT_INDEX_NONE, index_removed_callback, NULL, NULL); - data->hciemu = hciemu_new(HCIEMU_TYPE_BREDRLE); + data->hciemu = hciemu_new(data->hciemu_type); if (!data->hciemu) { tester_warn("Failed to setup HCI emulation"); tester_pre_setup_failed(); -- 2.47.3