From ac17a42fc5fa8e6b7a855ba7c9aab291b42ac8ce Mon Sep 17 00:00:00 2001 From: Marcin Kraglak Date: Thu, 14 May 2015 13:09:21 +0200 Subject: [PATCH] core/gatt: Report if char. value exists properly Return correct value in characteristic_value_exists(). --- src/gatt-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gatt-client.c b/src/gatt-client.c index 36145535d..162bcac22 100644 --- a/src/gatt-client.c +++ b/src/gatt-client.c @@ -707,7 +707,7 @@ static gboolean characteristic_value_exists(const GDBusPropertyTable *property, gatt_db_attribute_read(chrc->attr, 0, 0, NULL, read_check_cb, &ret); - return TRUE; + return ret; } static gboolean characteristic_get_notifying(const GDBusPropertyTable *property, -- 2.47.3