Diff between de02cf259b67707072973eea2efdd8afa9098e89 and 721c1779e715a3ef33001c1563a6006e99dae09d
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 858209c..2c10409 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -1947,7 +1947,7 @@ static void disable_ccc_callback(uint8_t opcode, const void *pdu,
*/
while (1) {
next_data = queue_pop_head(notify_data->chrc->reg_notify_queue);
- if (!next_data || notify_data_write_ccc(notify_data, true,
+ if (!next_data || notify_data_write_ccc(next_data, true,
enable_ccc_callback))
return;
}