Skip to content

Commit 60a908c

Browse files
rsalvetijhedberg
authored andcommitted
Bluetooth: Kconfig: fix default value and range for BT_RX_STACK_SIZE
Fix checks for BT_HCI_RAW and move default range after the other range options, required by Kconfig to avoid overwriting other options. Signed-off-by: Ricardo Salveti <[email protected]>
1 parent 0cefc69 commit 60a908c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

subsys/bluetooth/host/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ config BT_RX_STACK_SIZE
9696
depends on BT_HCI_HOST || BT_RECV_IS_RX_THREAD
9797
default 1024
9898
default 2048 if BT_MESH
99-
default 512 if CONFIG_BT_HCI_RAW
100-
range 1024 65536
99+
default 512 if BT_HCI_RAW
100+
range 512 65536 if BT_HCI_RAW
101101
range 1100 65536 if BT_MESH
102-
range 512 65536 if CONFIG_BT_HCI_RAW
102+
range 1024 65536
103103
help
104104
Size of the receiving thread stack. This is the context from
105105
which all event callbacks to the application occur. The

0 commit comments

Comments
 (0)