Diff between cad930f409b809d98467a69fca93d12c269c00d0 and ff797556da5f896d43e4b0e16f5e1a8231b8cd1f
Changed Files
| File | Additions | Deletions | Status |
| attrib/gatt.c | +1 | -1 | modified |
Full Patch
diff --git a/attrib/gatt.c b/attrib/gatt.c
index 27fb0b3..f8ff2a5 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;