Diff between 2e45ec63199377039f1552ed85a2d80fc80d958f and 71d9bac2111f152cb25b732f10390ab1086ad9e0

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 cfe14da..a018c8c 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -1663,8 +1663,8 @@ static void register_notify(void *data, void *user_data)
 
 	DBG("Failed to re-register notification client");
 
-	queue_remove(notify_client->chrc->notify_clients, client);
-	queue_remove(client->all_notify_clients, client);
+	queue_remove(notify_client->chrc->notify_clients, notify_client);
+	queue_remove(client->all_notify_clients, notify_client);
 
 	notify_client_free(notify_client);
 }