Upgrade bluez5_37 :Merge the code from private
[platform/upstream/bluez.git] / tools / sco-tester.c
index d55d51a..651fbe0 100644 (file)
@@ -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");