* [PATCH] core/gatt: Report if char. value exists properly
@ 2015-05-14 11:09 Marcin Kraglak
2015-05-23 5:41 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Kraglak @ 2015-05-14 11:09 UTC (permalink / raw)
To: linux-bluetooth
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 3614553..162bcac 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,
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-23 5:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-14 11:09 [PATCH] core/gatt: Report if char. value exists properly Marcin Kraglak
2015-05-23 5:41 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).