diff options
Diffstat (limited to 'attrib')
-rw-r--r-- | attrib/gatt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/attrib/gatt.c b/attrib/gatt.c index 27fb0b3ca..f8ff2a548 100644 --- a/attrib/gatt.c +++ b/attrib/gatt.c @@ -1004,7 +1004,7 @@ static void desc_discovered_cb(guint8 status, const guint8 *ipdu, att_data_list_free(list); - if (last + 1 < dd->end && !uuid_found) { + if (last < dd->end && !uuid_found) { guint16 oplen; size_t buflen; uint8_t *buf; |