Skip to content

Commit

Permalink
Bluetooth: classic: Kconfig: set BT_RFCOMM_DLC_STACK_SIZE default 512
Browse files Browse the repository at this point in the history
For the shell RFCOMM case, these is a stack overflow problem when do
disconnect, so need to increase the CONFIG_BT_RFCOMM_DLC_STACK_SIZE.
Set CONFIG_BT_RFCOMM_DLC_STACK_SIZE default 512.

Signed-off-by: Make Shi <[email protected]>
  • Loading branch information
makeshi authored and kartben committed Dec 24, 2024
1 parent 334c6be commit 3f4ff78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions subsys/bluetooth/host/classic/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ config BT_RFCOMM_TX_MAX

config BT_RFCOMM_DLC_STACK_SIZE
int "Stack size of DLC for RFCOMM"
default 512 if BT_HFP_AG
default 256
default 512
help
Stack size of DLC for RFCOMM. This is the context from which
all data of upper layer are sent and disconnect
Expand Down

0 comments on commit 3f4ff78

Please sign in to comment.