aboutsummaryrefslogtreecommitdiffstats
path: root/src/direct_bt/BTGattHandler.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-10-13 05:35:01 +0200
committerSven Gothel <[email protected]>2021-10-13 05:35:01 +0200
commitaf1b7d435e1db39b2e6e20f5b782f95e36814802 (patch)
tree0734c436a06c5e77b1ab88a053b09eca5fc9ab48 /src/direct_bt/BTGattHandler.cpp
parent713adeabeb8d3b02ceabe93bd1b57b6b4f143b1f (diff)
Fix BTGattHandler::replyFindInfoReq(): Add missing rspSize accumulation
Diffstat (limited to 'src/direct_bt/BTGattHandler.cpp')
-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;
}