BLE - Call SecInit unconditionally as it is required by low HCI level driver

That module handles random number incomming from the controller. Overhead is low (less than 150 bytes of flash).
pull/9907/head
Vincent Coubard 2019-03-01 18:32:19 +00:00
parent 2f98901050
commit 77511c3983
1 changed files with 1 additions and 3 deletions

View File

@ -386,10 +386,8 @@ void BLE::stack_setup()
WsfTimerInit(); WsfTimerInit();
#if BLE_FEATURE_SECURITY // Note: SecInit required for RandInit.
SecInit(); SecInit();
#endif
SecRandInit(); SecRandInit();
#if BLE_FEATURE_SECURITY #if BLE_FEATURE_SECURITY