mirror of https://github.com/ARMmbed/mbed-os.git
Fix wrong use of DmLlPrivEnabled()
parent
71bd30daf3
commit
40b6813dcf
|
@ -778,7 +778,7 @@ struct CordioSecurityManager::PrivacyAddDevToResListControlBlock : CordioSecurit
|
|||
|
||||
virtual void execute() {
|
||||
// Check whether we need to enable resolution in LL
|
||||
bool enable_ll_resolving = DmLlPrivEnabled();
|
||||
bool enable_ll_resolving = !DmLlPrivEnabled();
|
||||
|
||||
// Execute command
|
||||
DmPrivAddDevToResList(_peer_identity_address_type.value(), _peer_identity_address.data(), _peer_irk.data(), DmSecGetLocalIrk(), enable_ll_resolving, 0);
|
||||
|
|
Loading…
Reference in New Issue