Diff between ff90e4fdb898f45adc35baba034d6b52d7ea8030 and 223177edbb7636b40e55c8dfe20a9ba08209cce2

Changed Files

File Additions Deletions Status
src/shared/gatt-client.c +1 -1 modified

Full Patch

diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index 101e47e..1a157ec 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -229,7 +229,7 @@ static void discover_descs_cb(bool success, uint8_t att_ecode,
 	op->cur_chrc->num_descs = desc_count;
 	op->cur_chrc->descs = descs;
 
-	for (i = op->cur_chrc_index;
+	for (i = op->cur_chrc_index + 1;
 				i < op->cur_service->service.num_chrcs; i++) {
 		op->cur_chrc_index = i;
 		op->cur_chrc++;