Bluetooth: Kconfig: Remove unnecessary default conditionals
There should always be one unconditional default and then a conditional for each exception. Change-Id: If1043c70eaae631c0a46c0af065a77199eb8e91b Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
cb3120d440
commit
3931b402e8
1 changed files with 5 additions and 5 deletions
|
@ -87,8 +87,8 @@ config BLUETOOTH_MAX_CMD_LEN
|
|||
|
||||
config BLUETOOTH_HCI_EVT_COUNT
|
||||
int "Number of HCI event buffers"
|
||||
default 4
|
||||
default 8 if BLUETOOTH_CONN
|
||||
default 4 if !BLUETOOTH_CONN
|
||||
range 2 64
|
||||
help
|
||||
Number of buffers available for HCI events. This number should
|
||||
|
@ -98,7 +98,7 @@ config BLUETOOTH_HCI_EVT_COUNT
|
|||
|
||||
config BLUETOOTH_MAX_EVT_LEN
|
||||
int "Maximum supported HCI event length"
|
||||
default 68 if !BLUETOOTH_BREDR
|
||||
default 68
|
||||
default 255 if BLUETOOTH_BREDR
|
||||
range 68 255
|
||||
help
|
||||
|
@ -118,10 +118,10 @@ config BLUETOOTH_ACL_IN_COUNT
|
|||
|
||||
config BLUETOOTH_L2CAP_IN_MTU
|
||||
int "Maximum supported L2CAP MTU for incoming data"
|
||||
default 23
|
||||
default 65 if BLUETOOTH_SMP
|
||||
default 23 if !BLUETOOTH_SMP
|
||||
range 23 1300
|
||||
range 65 1300 if BLUETOOTH_SMP
|
||||
range 23 1300 if !BLUETOOTH_SMP
|
||||
help
|
||||
Maximum size of each incoming L2CAP PDU.
|
||||
endif # BLUETOOTH_LE && BLUETOOTH_CONN || BLUETOOTH_STACK_HCI_RAW
|
||||
|
@ -162,9 +162,9 @@ config BLUETOOTH_CONN
|
|||
if BLUETOOTH_CONN
|
||||
config BLUETOOTH_ATT_MTU
|
||||
int "Attribute Protocol (ATT) channel MTU"
|
||||
default 23
|
||||
default 50 if BLUETOOTH_SMP # BLUETOOTH_L2CAP_IN_MTU is big enough
|
||||
# for two complete ACL packets
|
||||
default 23 if !BLUETOOTH_SMP
|
||||
range 23 BLUETOOTH_L2CAP_IN_MTU
|
||||
help
|
||||
The MTU for the ATT channel. The minimum and default is 23,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue