Diff between f2ec605b58468bc0db3550d25ae22fb6714ac0e7 and 8790d20b0b0f2294eef4c0901dae53b3593fba23

Changed Files

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

Full Patch

diff --git a/src/attrib-server.c b/src/attrib-server.c
index e412061..a996884 100644
--- a/src/attrib-server.c
+++ b/src/attrib-server.c
@@ -314,7 +314,6 @@ static uint16_t read_by_group(struct gatt_channel *channel, uint16_t start,
 
 	last_handle = end;
 	for (l = database, groups = NULL, cur = NULL; l; l = l->next) {
-		struct attribute *client_attr;
 
 		a = l->data;
 
@@ -344,10 +343,6 @@ static uint16_t read_by_group(struct gatt_channel *channel, uint16_t start,
 		status = att_check_reqs(channel, ATT_OP_READ_BY_GROUP_REQ,
 								a->read_reqs);
 
-		client_attr = client_cfg_attribute(channel, a, a->data, a->len);
-		if (client_attr)
-			a = client_attr;
-
 		if (status == 0x00 && a->read_cb)
 			status = a->read_cb(a, a->cb_user_data);