summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gix <bgix@codeaurora.org>2011-01-19 14:00:52 -0800
committerJohan Hedberg <johan.hedberg@nokia.com>2011-01-20 15:02:56 +0530
commite3ba32da9613734647597f2b50e4ce7f3ca9faf7 (patch)
tree97bd398110c349018869203884deb7864b6e8359
parentdec7a257727935e9e97eba50c63d3d6bf20ca2a4 (diff)
downloadbluez-e3ba32da9613734647597f2b50e4ce7f3ca9faf7.tar.gz
Fix Handle range if Pri/Sec Service is Empty
-rw-r--r--src/attrib-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attrib-server.c b/src/attrib-server.c
index 7e85d1721..7d122fbd6 100644
--- a/src/attrib-server.c
+++ b/src/attrib-server.c
@@ -242,6 +242,7 @@ static uint16_t read_by_group(struct gatt_channel *channel, uint16_t start,
last_size = a->len;
old = cur;
+ last_handle = cur->handle;
}
if (groups == NULL)