Diff between 6a3a89774c6738df4d5b77636c4ce747b7497ae9 and 827ba0ce19d157757e115f815e4ffef303153ec7

Changed Files

File Additions Deletions Status
src/attrib-server.c +1 -1 modified

Full Patch

diff --git a/src/attrib-server.c b/src/attrib-server.c
index 2e95628..7ee496e 100644
--- a/src/attrib-server.c
+++ b/src/attrib-server.c
@@ -431,7 +431,7 @@ static uint16_t read_by_type(struct gatt_channel *channel, uint16_t start,
 		if (a->handle < start)
 			continue;
 
-		if (a->handle >= end)
+		if (a->handle > end)
 			break;
 
 		if (bt_uuid_cmp(&a->uuid, uuid)  != 0)