diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp index 410287bd5f..2adb350699 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp @@ -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);