Skip to content

Commit

Permalink
Bluetooth: Host: increase BT_LONG_WQ stack size when using ECC emulation
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
valeriosetti committed Nov 28, 2024
1 parent c1fe147 commit 6698bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/bluetooth/host/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6698bed

Please sign in to comment.