Diff between 16f6ec984ea2b802d13cce07964ce386f3dcf3dc and 1f1c3eb8439694b654f51860e5f3ccd6bb56aa24

Changed Files

File Additions Deletions Status
src/gatt-client.c +1 -1 modified

Full Patch

diff --git a/src/gatt-client.c b/src/gatt-client.c
index 57a1f66..114981c 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -184,7 +184,7 @@ static void read_check_cb(struct gatt_db_attribute *attrib, int err,
 {
 	gboolean *ret = user_data;
 
-	if (err || length == 0) {
+	if (err) {
 		*ret = FALSE;
 		return;
 	}