diff options
author | Sven Gothel <[email protected]> | 2022-04-15 17:35:27 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-04-15 17:35:27 +0200 |
commit | 85c5376ff3385bb6695b7bd05405603d1523269b (patch) | |
tree | 799254a8a55f1a0ae09dc0174f02a2f134c52e9d /api | |
parent | 1c2dfc287d4445c6dc19a31e1dcb6516928ead08 (diff) |
Fix MgmtEvtHCILERemoteFeatures ctor: Allocation size missed hci_status (valgrind result)
Diffstat (limited to 'api')
-rw-r--r-- | api/direct_bt/MgmtTypes.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/direct_bt/MgmtTypes.hpp b/api/direct_bt/MgmtTypes.hpp index 72edb48c..eb052e8c 100644 --- a/api/direct_bt/MgmtTypes.hpp +++ b/api/direct_bt/MgmtTypes.hpp @@ -2315,7 +2315,7 @@ namespace direct_bt { public: MgmtEvtHCILERemoteFeatures(const uint16_t dev_id, const BDAddressAndType& addressAndType, const HCIStatusCode hci_status, const LE_Features features_) - : MgmtEvent(Opcode::HCI_LE_REMOTE_FEATURES, dev_id, 6+1+8) + : MgmtEvent(Opcode::HCI_LE_REMOTE_FEATURES, dev_id, 6+1+1+8) { pdu.put_eui48_nc(MGMT_HEADER_SIZE, addressAndType.address); pdu.put_uint8_nc(MGMT_HEADER_SIZE+6, direct_bt::number(addressAndType.type)); |