Diff between 229f63c3c8693d2c0fce39005a08e400d1cd0ba3 and 0940a92c1a341504cfa4fff6f27f233b816381f1

Changed Files

File Additions Deletions Status
profiles/gatt/gas.c +1 -1 modified

Full Patch

diff --git a/profiles/gatt/gas.c b/profiles/gatt/gas.c
index ddd4e70..28d7fbf 100644
--- a/profiles/gatt/gas.c
+++ b/profiles/gatt/gas.c
@@ -245,7 +245,7 @@ static void gatt_characteristic_cb(GSList *characteristics, guint8 status,
 	start = chr->value_handle + 1;
 	end = gas->gatt.end;
 
-	if (start <= end) {
+	if (start > end) {
 		error("Inconsistent database: Service Changed CCC missing");
 		return;
 	}