From 6698bed9373be394b929d99fd2c07a6f7930e3d0 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Thu, 28 Nov 2024 10:12:10 +0100 Subject: [PATCH] Bluetooth: Host: increase BT_LONG_WQ stack size when using ECC emulation After the switch from TinyCrypt to PSA Crypto API as crypto backend, runtime crashes might happen on some platform due to BT_LONG_WQ's stack size not being large enough. This commit fixes this issue. Signed-off-by: Valerio Setti --- subsys/bluetooth/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/host/Kconfig b/subsys/bluetooth/host/Kconfig index 56923d7819a9bc..8480d9549d966d 100644 --- a/subsys/bluetooth/host/Kconfig +++ b/subsys/bluetooth/host/Kconfig @@ -15,8 +15,8 @@ config BT_LONG_WQ_STACK_SIZE # Hidden: Long workqueue stack size. Should be derived from system # requirements. int + default 1400 if BT_SEND_ECC_EMULATION default 1300 if BT_GATT_CACHING - default 1140 if BT_SEND_ECC_EMULATION default 1024 config BT_LONG_WQ_PRIO