diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp index e874ec92cf..7db3b5c4d7 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp @@ -386,10 +386,8 @@ void BLE::stack_setup() WsfTimerInit(); -#if BLE_FEATURE_SECURITY + // Note: SecInit required for RandInit. SecInit(); -#endif - SecRandInit(); #if BLE_FEATURE_SECURITY