Diff between 724a904228318c7defb385cd9378fab70c406b8c and f7ab1f6078cc9e2fc41e81907ec6bc45b4c7a633

Changed Files

File Additions Deletions Status
tools/l2cap-tester.c +1 -1 modified

Full Patch

diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c
index 53a08fd..20b84be 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();