linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] android/tester: Fix not handled ssp requests in AVRCP cases
@ 2014-09-09 10:51 Jakub Tyszkowski
  2014-09-09 11:53 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Tyszkowski @ 2014-09-09 10:51 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jakub Tyszkowski

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.
---
 android/tester-avrcp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/android/tester-avrcp.c b/android/tester-avrcp.c
index 337a621..07b95f5 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),
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-09 11:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-09 10:51 [PATCH] android/tester: Fix not handled ssp requests in AVRCP cases Jakub Tyszkowski
2014-09-09 11:53 ` Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).