No status set in zeroized step mean that this status is SUCCESS (value 0). If no data is present while setting l2cap server, status should be set to FAIL. --- android/tester-main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/tester-main.c b/android/tester-main.c index a8a7bd3..ceb5ea8 100644 --- a/android/tester-main.c +++ b/android/tester-main.c @@ -2645,7 +2645,8 @@ void emu_add_l2cap_server_action(void) if (!l2cap_data) { tester_warn("Invalid l2cap_data params"); - return; + step->action_status = BT_STATUS_FAIL; + goto done; } bthost = hciemu_client_get_host(data->hciemu); @@ -2655,6 +2656,7 @@ void emu_add_l2cap_server_action(void) step->action_status = BT_STATUS_SUCCESS; +done: schedule_action_verification(step); } -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html