Hi, On Tue, Dec 4, 2018 at 9:44 PM Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > > From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > > This ensures that GATT and GAP services can be discover over SDP as well > as over GATT. > --- > src/gatt-database.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/src/gatt-database.c b/src/gatt-database.c > index c31afa0e9..2c2f035b1 100644 > --- a/src/gatt-database.c > +++ b/src/gatt-database.c > @@ -847,6 +847,8 @@ static void populate_gap_service(struct btd_gatt_database *database) > NULL, database); > > gatt_db_service_set_active(service, true); > + > + database_add_record(database, service); > } > > static void gatt_ccc_read_cb(struct gatt_db_attribute *attrib, > @@ -1071,6 +1073,8 @@ static void populate_gatt_service(struct btd_gatt_database *database) > NULL); > > gatt_db_service_set_active(service, true); > + > + database_add_record(database, service); > } > > static void register_core_services(struct btd_gatt_database *database) > -- > 2.17.2 Applied. -- Luiz Augusto von Dentz