Diff between 47410af520bca46fb8bcb9bcba7b9b1d8e6318c1 and 5d0fadf061dc0bb3249b53771c3ea4847dc4ee1a

Changed Files

File Additions Deletions Status
src/gatt-database.c +2 -1 modified

Full Patch

diff --git a/src/gatt-database.c b/src/gatt-database.c
index e84c191..0c84b25 100644
--- a/src/gatt-database.c
+++ b/src/gatt-database.c
@@ -1830,7 +1830,8 @@ static bool pipe_io_read(struct io *io, void *user_data)
 				gatt_db_attribute_get_handle(chrc->attrib),
 				buf, bytes_read,
 				gatt_db_attribute_get_handle(chrc->ccc),
-				false, NULL);
+				chrc->props & BT_GATT_CHRC_PROP_INDICATE,
+				NULL);
 
 	return true;
 }