Diff between 707887a3aa79c21274d608f864c600cc630cd91e and befa914c9f79733e3a71503d4707d0d97f239c6f

Changed Files

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

Full Patch

diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index 5c95a62..8bcbabc 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -1581,6 +1581,7 @@ static void complete_unregister_notify(void *data)
 	 */
 	if (notify_data->att_id) {
 		bt_att_cancel(notify_data->client->att, notify_data->att_id);
+		notify_data->att_id = 0;
 		goto done;
 	}