Linux bluetooth development
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@nokia.com>
To: Andre Dieb Martins <andre.dieb@signove.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Update gatt listen mode.
Date: Tue, 8 Feb 2011 15:09:09 -0800	[thread overview]
Message-ID: <20110208230909.GC17287@jh-x301> (raw)
In-Reply-To: <1297109496-26609-1-git-send-email-andre.dieb@signove.com>

Hi André,

On Mon, Feb 07, 2011, Andre Dieb Martins wrote:
> Update gatt's listen-mode flag whenever connect_cb() is called again.
> ---
>  attrib/client.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/attrib/client.c b/attrib/client.c
> index 44638d3..ec5fcf2 100644
> --- a/attrib/client.c
> +++ b/attrib/client.c
> @@ -356,6 +356,7 @@ static int l2cap_connect(struct gatt_service *gatt, GError **gerr,
>  
>  	if (gatt->attrib != NULL) {
>  		gatt->attrib = g_attrib_ref(gatt->attrib);
> +		gatt->listen = listen;
>  		return 0;
>  	}

Thanks. The patch has been pushed upstream.

Johan

      reply	other threads:[~2011-02-08 23:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07 20:11 [PATCH] Update gatt listen mode Andre Dieb Martins
2011-02-08 23:09 ` Johan Hedberg [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=20110208230909.GC17287@jh-x301 \
    --to=johan.hedberg@nokia.com \
    --cc=andre.dieb@signove.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox