summaryrefslogtreecommitdiffstats
path: root/src/direct_bt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-11-05 19:12:26 +0100
committerSven Gothel <[email protected]>2023-11-05 19:12:26 +0100
commitb2c1d27ff03d97dc8130c93487015234e2569aa6 (patch)
tree1cbea2fe9471d65f240f078940c15e28bf454b7b /src/direct_bt
parente66d3f7960b53f546817b9a7d9092b390d767913 (diff)
LE Resolvable Address: BTDevice::hciSMPMsgCallback: Fix IRK responder properties: Use irk_resp (copy/paste bug) and SMPIdentityResolvingKey::Property::RESPONDER
Diffstat (limited to 'src/direct_bt')
-rw-r--r--src/direct_bt/BTDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/BTDevice.cpp b/src/direct_bt/BTDevice.cpp
index b09cef6f..8524c507 100644
--- a/src/direct_bt/BTDevice.cpp
+++ b/src/direct_bt/BTDevice.cpp
@@ -1371,7 +1371,7 @@ void BTDevice::hciSMPMsgCallback(const std::shared_ptr<BTDevice>& sthis, const S
if( !msg_from_initiator ) {
// from responder (LL slave)
pairing_data.keys_resp_has |= SMPKeyType::ID_KEY;
- pairing_data.csrk_resp.properties |= SMPSignatureResolvingKey::Property::RESPONDER;
+ pairing_data.irk_resp.properties |= SMPIdentityResolvingKey::Property::RESPONDER;
pairing_data.irk_resp.irk = msg1.getIRK();
if( BDAddressType::BDADDR_UNDEFINED != pairing_data.id_address_resp.type ) {
pairing_data.irk_resp.id_address = pairing_data.id_address_resp.address;