From: Johan Hedberg Date: Thu, 19 Sep 2013 16:41:06 +0000 (+0300) Subject: tools/l2cap-tester: Fix using right hciemu type X-Git-Tag: android-x86-4.4-r3~7605 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f7ab1f6078cc9e2fc41e81907ec6bc45b4c7a633;p=android-x86%2Fexternal-bluetooth-bluez.git tools/l2cap-tester: Fix using right hciemu type --- 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();