summaryrefslogtreecommitdiff
path: root/android/tester-avrcp.c
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@tieto.com>2014-09-09 12:51:58 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-09-09 13:48:47 +0200
commitf815a4bebad00194f419a274c6e4dd5ae9ef0ece (patch)
treedaa79db883e1abe9ec5994baca606c8dfcf9300b /android/tester-avrcp.c
parent0a78bde0fa3ed96265917dd81d88787bf873bdf9 (diff)
downloadbluez-f815a4bebad00194f419a274c6e4dd5ae9ef0ece.tar.gz
android/tester: Fix not handled ssp requests in AVRCP cases
Those were previously passing because of ssp handler being not cleaned between test cases. This is now fixed in tester framework thus test cases needs to be updated.
Diffstat (limited to 'android/tester-avrcp.c')
-rw-r--r--android/tester-avrcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/tester-avrcp.c b/android/tester-avrcp.c
index 337a62196..07b95f5d5 100644
--- a/android/tester-avrcp.c
+++ b/android/tester-avrcp.c
@@ -241,6 +241,7 @@ static struct test_case test_cases[] = {
CALLBACK_STATE(CB_BT_ADAPTER_STATE_CHANGED, BT_STATE_ON),
ACTION_SUCCESS(emu_setup_powered_remote_action, NULL),
ACTION_SUCCESS(emu_set_ssp_mode_action, NULL),
+ ACTION_SUCCESS(set_default_ssp_request_handler, NULL),
ACTION_SUCCESS(emu_add_l2cap_server_action, &sdp_setup_data),
ACTION_SUCCESS(emu_add_l2cap_server_action, &a2dp_setup_data),
ACTION_SUCCESS(emu_add_l2cap_server_action, &avrcp_setup_data),
@@ -257,6 +258,7 @@ static struct test_case test_cases[] = {
CALLBACK_STATE(CB_BT_ADAPTER_STATE_CHANGED, BT_STATE_ON),
ACTION_SUCCESS(emu_setup_powered_remote_action, NULL),
ACTION_SUCCESS(emu_set_ssp_mode_action, NULL),
+ ACTION_SUCCESS(set_default_ssp_request_handler, NULL),
ACTION_SUCCESS(emu_add_l2cap_server_action, &sdp_setup_data),
ACTION_SUCCESS(emu_add_l2cap_server_action, &a2dp_setup_data),
ACTION_SUCCESS(emu_add_l2cap_server_action, &avrcp_setup_data),