random: Correct Mutex define
Correct Mutex ctr_lock defination as the wrong defination lead to sysworkq task not acquiring this mutex during bt init, which lead to BLE didn't work as described in issue https://github.com/zephyrproject-rtos/zephyr/issues/86444 Signed-off-by: Ying Zhang <ying.zhang_2@nxp.com>
This commit is contained in:
parent
957647b382
commit
90c6eb1da7
@ -24,7 +24,7 @@
|
||||
static const struct device *entropy_dev;
|
||||
static const unsigned char drbg_seed[] = CONFIG_CS_CTR_DRBG_PERSONALIZATION;
|
||||
static bool ctr_initialised;
|
||||
static struct k_mutex ctr_lock;
|
||||
static K_MUTEX_DEFINE(ctr_lock);
|
||||
|
||||
static mbedtls_ctr_drbg_context ctr_ctx;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user