Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: Marcin Kraglak <marcin.kraglak@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android/handsfree: Start codec selection if HF send AT+BAC while codec connection
Date: Fri, 21 Mar 2014 16:14:25 +0100	[thread overview]
Message-ID: <2140052.uA6dWv2Sim@uw000953> (raw)
In-Reply-To: <1395412220-15852-1-git-send-email-marcin.kraglak@tieto.com>

Hi Marcin,

On Friday 21 of March 2014 15:30:20 Marcin Kraglak wrote:
> If AG receives AT+BAC in response to +BCS, refresh list of codecs
> and start new codec connection. It is required in TC_AG_ACC_BV_11_I
> PTS test case.
> ---
>  android/handsfree.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/android/handsfree.c b/android/handsfree.c
> index c8e5f8a..95bc222 100644
> --- a/android/handsfree.c
> +++ b/android/handsfree.c
> @@ -1292,6 +1292,9 @@ static void at_cmd_bac(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  
>  		hfp_gw_send_result(device.gw, HFP_RESULT_OK);
>  
> +		if (device.proposed_codec)
> +			select_codec(0);
> +
>  		return;
>  	case HFP_GW_CMD_TYPE_TEST:
>  	case HFP_GW_CMD_TYPE_READ:
> 

Patch applied, thanks.

-- 
Best regards, 
Szymon Janc

      reply	other threads:[~2014-03-21 15:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-21 14:30 [PATCH] android/handsfree: Start codec selection if HF send AT+BAC while codec connection Marcin Kraglak
2014-03-21 15:14 ` 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=2140052.uA6dWv2Sim@uw000953 \
    --to=szymon.janc@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcin.kraglak@tieto.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox