diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index 4c563c2..292e6ec 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
/* Done with the current service */
gatt_db_service_set_active(op->cur_svc, true);
- attr = queue_pop_head(op->pending_svcs);
+ attr = queue_pop_head(op->svcs);
if (!attr)
goto done;
/* Done with the current service */
gatt_db_service_set_active(op->cur_svc, true);
- attr = queue_pop_head(op->pending_svcs);
+ attr = queue_pop_head(op->svcs);
if (!attr)
goto done;