mirror of https://github.com/ARMmbed/mbed-os.git
Remove LL resolving 'shorcut' when adding a device to resolving list - this should be controlled by the GAP layer
parent
40b6813dcf
commit
33c46f5658
|
@ -777,11 +777,8 @@ struct CordioSecurityManager::PrivacyAddDevToResListControlBlock : CordioSecurit
|
||||||
virtual ~PrivacyAddDevToResListControlBlock() {}
|
virtual ~PrivacyAddDevToResListControlBlock() {}
|
||||||
|
|
||||||
virtual void execute() {
|
virtual void execute() {
|
||||||
// Check whether we need to enable resolution in LL
|
|
||||||
bool enable_ll_resolving = !DmLlPrivEnabled();
|
|
||||||
|
|
||||||
// Execute command
|
// Execute command
|
||||||
DmPrivAddDevToResList(_peer_identity_address_type.value(), _peer_identity_address.data(), _peer_irk.data(), DmSecGetLocalIrk(), enable_ll_resolving, 0);
|
DmPrivAddDevToResList(_peer_identity_address_type.value(), _peer_identity_address.data(), _peer_irk.data(), DmSecGetLocalIrk(), false, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue