Because ssp_handler was incorrectly overriden with default_ssp_req_cb in previous test case, this test case used it also. Now it is needed to define it for each test case where it should be used. --- android/tester-a2dp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/android/tester-a2dp.c b/android/tester-a2dp.c index 6d4043b..1b2a8ce 100644 --- a/android/tester-a2dp.c +++ b/android/tester-a2dp.c @@ -243,6 +243,7 @@ static struct test_case test_cases[] = { CALLBACK_STATE(CB_BT_ADAPTER_STATE_CHANGED, BT_STATE_OFF), ), TEST_CASE_BREDRLE("A2DP Suspend - Success", + ACTION_SUCCESS(set_default_ssp_request_handler, NULL), ACTION_SUCCESS(bluetooth_enable_action, NULL), CALLBACK_STATE(CB_BT_ADAPTER_STATE_CHANGED, BT_STATE_ON), ACTION_SUCCESS(emu_setup_powered_remote_action, NULL), -- 1.9.0 -- 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