Diff between 9440a8d1f68b7e38b6b6435732fbadaafc96f401 and 55aad6d0ed633f9a8d47a2fa23619e6ce6b21997

Changed Files

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

Full Patch

diff --git a/src/gatt-client.c b/src/gatt-client.c
index 86aef79..c688567 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -520,7 +520,7 @@ static bool desc_write_complete(void *data)
 {
 	struct descriptor *desc = data;
 
-	desc->write_id = false;
+	desc->write_id = 0;
 
 	/*
 	 * The descriptor might have been unregistered during the read. Return
@@ -874,7 +874,7 @@ static bool chrc_write_complete(void *data)
 {
 	struct characteristic *chrc = data;
 
-	chrc->write_id = false;
+	chrc->write_id = 0;
 
 	/*
 	 * The characteristic might have been unregistered during the read.