Skip to content

Commit 3f4ff78

Browse files
makeshikartben
authored andcommitted
Bluetooth: classic: Kconfig: set BT_RFCOMM_DLC_STACK_SIZE default 512
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 <make.shi@nxp.com>
1 parent 334c6be commit 3f4ff78

File tree

1 file changed

+1
-2
lines changed
  • subsys/bluetooth/host/classic

1 file changed

+1
-2
lines changed

subsys/bluetooth/host/classic/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ config BT_RFCOMM_TX_MAX
6161

6262
config BT_RFCOMM_DLC_STACK_SIZE
6363
int "Stack size of DLC for RFCOMM"
64-
default 512 if BT_HFP_AG
65-
default 256
64+
default 512
6665
help
6766
Stack size of DLC for RFCOMM. This is the context from which
6867
all data of upper layer are sent and disconnect

0 commit comments

Comments
 (0)