summaryrefslogtreecommitdiff
path: root/android/tester-a2dp.c
diff options
context:
space:
mode:
authorMarcin Kraglak <marcin.kraglak@tieto.com>2014-09-05 10:09:56 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-09-05 11:35:16 +0200
commit0fad328c52a113db1e31f7e504e807b687b7653a (patch)
tree7bfa385d3588ef1ee1f09c67adcb27ae7b68d40a /android/tester-a2dp.c
parent2f061b693db2cbf2f9a9b819f2d1efbcf61333f6 (diff)
downloadbluez-0fad328c52a113db1e31f7e504e807b687b7653a.tar.gz
android/tester: Use default ssp handler in A2dp - Suspend test case
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.
Diffstat (limited to 'android/tester-a2dp.c')
-rw-r--r--android/tester-a2dp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/tester-a2dp.c b/android/tester-a2dp.c
index 6d4043baa..1b2a8cebf 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),