All of lore.kernel.org
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: Andrei Emeltchenko <Andrei.Emeltchenko.news@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android/gatt: Fix incorrect attribute check
Date: Mon, 10 Nov 2014 20:52:28 +0100	[thread overview]
Message-ID: <2162054.YOOzTySYLJ@leonov> (raw)
In-Reply-To: <1415610600-2984-1-git-send-email-Andrei.Emeltchenko.news@gmail.com>

Hi Andrei,

On Monday 10 of November 2014 11:10:00 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
> 
> ---
>  android/gatt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/android/gatt.c b/android/gatt.c
> index 2fad5ee..086bb94 100644
> --- a/android/gatt.c
> +++ b/android/gatt.c
> @@ -4311,7 +4311,7 @@ static void handle_server_add_included_service(const
> void *buf, uint16_t len) }
> 
>  	include = gatt_db_get_attribute(gatt_db, cmd->included_handle);
> -	if (!service) {
> +	if (!include) {
>  		status = HAL_STATUS_FAILED;
>  		goto failed;
>  	}

Pushed. Thanks.

-- 
BR
Szymon Janc

      reply	other threads:[~2014-11-10 19:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10  9:10 [PATCH] android/gatt: Fix incorrect attribute check Andrei Emeltchenko
2014-11-10 19:52 ` 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=2162054.YOOzTySYLJ@leonov \
    --to=szymon.janc@tieto.com \
    --cc=Andrei.Emeltchenko.news@gmail.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.