Commit 90c6eb1d authored by Ying Zhang's avatar Ying Zhang Committed by Benjamin Cabé
Browse files

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: default avatarYing Zhang <ying.zhang_2@nxp.com>
parent 957647b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;