Skip to content

Commit 3bf9a14

Browse files
valeriosettifabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 5790de6 commit 3bf9a14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ config BT_LONG_WQ_STACK_SIZE
1515
# Hidden: Long workqueue stack size. Should be derived from system
1616
# requirements.
1717
int
18+
default 1400 if BT_SEND_ECC_EMULATION
1819
default 1300 if BT_GATT_CACHING
19-
default 1140 if BT_SEND_ECC_EMULATION
2020
default 1024
2121

2222
config BT_LONG_WQ_PRIO

0 commit comments

Comments
 (0)