aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/direct_bt/BTGattHandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/direct_bt/BTGattHandler.cpp b/src/direct_bt/BTGattHandler.cpp
index 0eec465d..68f31e8c 100644
--- a/src/direct_bt/BTGattHandler.cpp
+++ b/src/direct_bt/BTGattHandler.cpp
@@ -300,6 +300,7 @@ void BTGattHandler::replyFindInfoReq(const AttFindInfoReq * pdu) {
}
rsp.setElementHandle(rspCount, d.handle);
rsp.setElementValueUUID(rspCount, *d.type);
+ rspSize += size;
++rspCount;
++total_count;
}