Hi, On Mon, Feb 15, 2016 at 2:30 PM, Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > > If gatt_db_service_insert_characteristic fails print an error for the > handle. > --- > src/shared/gatt-client.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c > index 20c195a..8486b09 100644 > --- a/src/shared/gatt-client.c > +++ b/src/shared/gatt-client.c > @@ -588,8 +588,12 @@ static bool discover_descs(struct discovery_op *op, bool *discovering) > chrc_data->properties, > NULL, NULL, NULL); > > - if (!attr) > + if (!attr) { > + util_debug(client->debug_callback, client->debug_data, > + "Failed to insert characteristic at 0x%04x", > + chrc_data->value_handle); > goto failed; > + } > > if (gatt_db_attribute_get_handle(attr) != > chrc_data->value_handle) > -- > 2.5.0 Applied. -- Luiz Augusto von Dentz -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html