From: Szymon Janc <szymon.janc@gmail.com>
To: Szymon Janc <szymon.janc@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 1/4] android/hal-gatt: Fix missing check if interface is ready
Date: Tue, 27 May 2014 00:11:30 +0200 [thread overview]
Message-ID: <2872925.oNVPNmXkhV@athlon> (raw)
In-Reply-To: <1401116627-28767-1-git-send-email-szymon.janc@tieto.com>
On Monday 26 May 2014 17:03:44 Szymon Janc wrote:
> ---
> android/hal-gatt.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/android/hal-gatt.c b/android/hal-gatt.c
> index 93dc066..6f0d2c5 100644
> --- a/android/hal-gatt.c
> +++ b/android/hal-gatt.c
> @@ -573,6 +573,9 @@ static bt_status_t register_client(bt_uuid_t *uuid)
> {
> struct hal_cmd_gatt_client_register cmd;
>
> + if (!interface_ready())
> + return BT_STATUS_NOT_READY;
> +
> memcpy(cmd.uuid, uuid, sizeof(*uuid));
>
> return hal_ipc_cmd(HAL_SERVICE_ID_GATT, HAL_OP_GATT_CLIENT_REGISTER,
Patches 1-3 are now applied.
--
Szymon K. Janc
szymon.janc@gmail.com
prev parent reply other threads:[~2014-05-26 22:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-26 15:03 [PATCH 1/4] android/hal-gatt: Fix missing check if interface is ready Szymon Janc
2014-05-26 15:03 ` [PATCH 2/4] android/README: Update required kernel options Szymon Janc
2014-05-26 15:03 ` [PATCH 3/4] android/pts: Update GATT tests results Szymon Janc
2014-05-26 15:03 ` [PATCH 4/4] android/README: Update information about GATT HAL support Szymon Janc
2014-05-26 22:11 ` 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=2872925.oNVPNmXkhV@athlon \
--to=szymon.janc@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=szymon.janc@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 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.