aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/client.c
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2010-07-30 15:59:35 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-09 18:06:47 -0400
commitde731d19c9bbaf8ef4d373ecbdbc257e3ac181d2 (patch)
treee1818fb26b67556796047efb0ac2908abbe750fc /attrib/client.c
parentbaa95be8866b3849d93462dfb060af45038a6e1f (diff)
downloadbluez-de731d19c9bbaf8ef4d373ecbdbc257e3ac181d2.tar.gz
bluez-de731d19c9bbaf8ef4d373ecbdbc257e3ac181d2.tar.xz
bluez-de731d19c9bbaf8ef4d373ecbdbc257e3ac181d2.zip
Fix wrong value for each characteristic end handle
Diffstat (limited to 'attrib/client.c')
-rw-r--r--attrib/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attrib/client.c b/attrib/client.c
index 787a6f85..60bc8550 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -362,7 +362,7 @@ static void char_discovered_cb(guint8 status, const guint8 *pdu, guint16 plen,
}
if (previous_end)
- *previous_end = prim->start - 1;
+ *previous_end = prim->end;
att_data_list_free(list);