All of lore.kernel.org
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android/tester: Fix not handled ssp requests in AVRCP cases
Date: Tue, 09 Sep 2014 13:53:45 +0200	[thread overview]
Message-ID: <8249079.MjFWCsRB8x@leonov> (raw)
In-Reply-To: <1410259918-28023-1-git-send-email-jakub.tyszkowski@tieto.com>

Hi Jakub,

On Tuesday 09 of September 2014 12:51:58 Jakub Tyszkowski wrote:
> 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),

Patch applied, thanks.

-- 
BR
Szymon Janc

      reply	other threads:[~2014-09-09 11:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8249079.MjFWCsRB8x@leonov \
    --to=szymon.janc@tieto.com \
    --cc=jakub.tyszkowski@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.