Diff between 9409e29f1ce28bca8ec59d9ad55c73ceb6536fa1 and f10a24767c986a808f07795002d4586606a80c1f
Changed Files
| File | Additions | Deletions | Status |
| android/gatt.c | +1 | -1 | modified |
Full Patch
diff --git a/android/gatt.c b/android/gatt.c
index f16d365..4ef2b5f 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -2760,7 +2760,7 @@ static void gatt_discover_desc_cb(guint8 status, GSList *descs,
bt_string_to_uuid(&uuid, desc->uuid);
bt_uuid_to_uuid128(&uuid, &descr->id.uuid);
- descr->id.instance = i++;
+ descr->id.instance = ++i;
descr->handle = desc->handle;
DBG("attr handle = 0x%04x, uuid: %s", desc->handle, desc->uuid);