mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
2f98901050
commit
77511c3983
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue