commit | 2fab731d89c2055e49f6c5ff261241ff9ae7422c | [log] [tgz] |
---|---|---|
author | Andre Dieb Martins <andre.dieb@signove.com> | Mon Feb 07 17:11:36 2011 -0300 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Tue Feb 08 15:07:23 2011 -0800 |
tree | d62990577d1898e8c8c7ab63d37f058395bfb403 | |
parent | 1c93c6fa88016166faf1a3d4b0d72531393834f9 [diff] |
Fix GATT listen mode updating Update gatt's listen-mode flag whenever connect_cb() is called again.
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 @@ if (gatt->attrib != NULL) { gatt->attrib = g_attrib_ref(gatt->attrib); + gatt->listen = listen; return 0; }