diff options
author | Sven Gothel <[email protected]> | 2021-10-13 05:35:01 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-10-13 05:35:01 +0200 |
commit | af1b7d435e1db39b2e6e20f5b782f95e36814802 (patch) | |
tree | 0734c436a06c5e77b1ab88a053b09eca5fc9ab48 /src/direct_bt/BTGattHandler.cpp | |
parent | 713adeabeb8d3b02ceabe93bd1b57b6b4f143b1f (diff) |
Fix BTGattHandler::replyFindInfoReq(): Add missing rspSize accumulation
Diffstat (limited to 'src/direct_bt/BTGattHandler.cpp')
-rw-r--r-- | src/direct_bt/BTGattHandler.cpp | 1 |
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; } |