diff options
author | Andre Dieb Martins <andre.dieb@signove.com> | 2011-02-07 17:11:36 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-02-08 15:07:23 -0800 |
commit | 2fab731d89c2055e49f6c5ff261241ff9ae7422c (patch) | |
tree | d62990577d1898e8c8c7ab63d37f058395bfb403 /attrib | |
parent | 1c93c6fa88016166faf1a3d4b0d72531393834f9 (diff) | |
download | bluez-2fab731d89c2055e49f6c5ff261241ff9ae7422c.tar.gz |
Fix GATT listen mode updating
Update gatt's listen-mode flag whenever connect_cb() is called again.
Diffstat (limited to 'attrib')
-rw-r--r-- | attrib/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/attrib/client.c b/attrib/client.c index 44638d3e..ec5fcf22 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; } |