From: Szymon Janc <szymon.janc@tieto.com>
To: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 1/2] android/bluetooth: Fix bdaddr_type in pairing scenario
Date: Wed, 20 Aug 2014 12:02:58 +0200 [thread overview]
Message-ID: <1458383.xlqSA2177C@leonov> (raw)
In-Reply-To: <1408522224-27670-1-git-send-email-lukasz.rymanowski@tieto.com>
Hi Łukasz,
On Wednesday 20 of August 2014 10:10:23 Lukasz Rymanowski wrote:
> With this patch correct bdaddr type is used in ssp pairing scenario
> ---
> android/bluetooth.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/android/bluetooth.c b/android/bluetooth.c
> index 64a7696..59dd047 100644
> --- a/android/bluetooth.c
> +++ b/android/bluetooth.c
> @@ -4500,11 +4500,13 @@ static void handle_ssp_reply_cmd(const void *buf,
> uint16_t len) switch (cmd->ssp_variant) {
> case HAL_SSP_VARIANT_CONFIRM:
> case HAL_SSP_VARIANT_CONSENT:
> - status = user_confirm_reply(&dev->bdaddr, dev->bdaddr_type,
> - cmd->accept);
> + status = user_confirm_reply(&dev->bdaddr,
> + select_device_bearer(dev),
> + cmd->accept);
> break;
> case HAL_SSP_VARIANT_ENTRY:
> - status = user_passkey_reply(&dev->bdaddr, dev->bdaddr_type,
> + status = user_passkey_reply(&dev->bdaddr,
> + select_device_bearer(dev),
> cmd->accept, cmd->passkey);
> break;
> case HAL_SSP_VARIANT_NOTIF:
Both patches applied, thanks.
--
BR
Szymon Janc
prev parent reply other threads:[~2014-08-20 10:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 8:10 [PATCH 1/2] android/bluetooth: Fix bdaddr_type in pairing scenario Lukasz Rymanowski
2014-08-20 8:10 ` [PATCH 2/2] android/bluetooth: Add debug log to select_device_bearer Lukasz Rymanowski
2014-08-20 10:02 ` 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=1458383.xlqSA2177C@leonov \
--to=szymon.janc@tieto.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=lukasz.rymanowski@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