From: Andre Dieb Martins <andre.dieb@signove.com>
To: linux-bluetooth@vger.kernel.org
Cc: Andre Dieb Martins <andre.dieb@signove.com>
Subject: [PATCH] Update gatt listen mode.
Date: Mon, 7 Feb 2011 17:11:36 -0300 [thread overview]
Message-ID: <1297109496-26609-1-git-send-email-andre.dieb@signove.com> (raw)
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;
}
--
1.7.1
next reply other threads:[~2011-02-07 20:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-07 20:11 Andre Dieb Martins [this message]
2011-02-08 23:09 ` [PATCH] Update gatt listen mode Johan Hedberg
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=1297109496-26609-1-git-send-email-andre.dieb@signove.com \
--to=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