diff --git a/src/gatt-client.c b/src/gatt-client.c
index 3356ee4..d8a3429 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
/* Set service active so we can skip discovering next time */
gatt_db_service_set_active(attr, true);
+ /* Mark the service as claimed since it going to be exported */
+ gatt_db_service_set_claimed(attr, true);
+
return service;
}
DBG("GATT client ready");
- if (queue_isempty(client->services)) {
- DBG("Exporting services");
- create_services(client);
- return;
- }
+ create_services(client);
/*
* Services have already been created before. Re-enable notifications