Diff between 62cf3d827e80b773ed5a248b9c609247acbaa8c2 and f8888b6b20d58f35ea999d2c2ed33091861e705c

Changed Files

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

Full Patch

diff --git a/tools/sco-tester.c b/tools/sco-tester.c
index d55d51a..651fbe0 100644
--- a/tools/sco-tester.c
+++ b/tools/sco-tester.c
@@ -160,6 +160,7 @@ static void read_index_list_callback(uint8_t status, uint16_t length,
 	if (!data->hciemu) {
 		tester_warn("Failed to setup HCI emulation");
 		tester_pre_setup_failed();
+		return;
 	}
 
 	tester_print("New hciemu instance created");