Diff between 0adbb18369de1e80ea28c99838a1d69f3d47fc53 and c8920fc1246637aaabcc40cbfe05845c91149f07
Changed Files
| File | Additions | Deletions | Status |
| android/gatt.c | +3 | -3 | modified |
Full Patch
diff --git a/android/gatt.c b/android/gatt.c
index 4ef2b5f..5a1d215 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -2772,9 +2772,9 @@ static void gatt_discover_desc_cb(guint8 status, GSList *descs,
reply:
descr = queue_peek_head(ch->descriptors);
- send_client_descr_notify(status, conn->id, srvc->primary, &srvc->id,
- &ch->id,
- descr ? &descr->id : NULL);
+ send_client_descr_notify(status ? GATT_FAILURE : GATT_SUCCESS, conn->id,
+ srvc->primary, &srvc->id, &ch->id,
+ descr ? &descr->id : NULL);
free(data);
}