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 <vsetti@baylibre.com>
This commit is contained in:
Valerio Setti 2024-11-28 10:12:10 +01:00 committed by Fabio Baltieri
commit 3bf9a14f98

View file

@ -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