Bluetooth: Remove useless BT_L2CAP_TX_USER_DATA_SIZE Kconfig variable

No one was setting this to any other value than its default, which
happens to be the same as BT_BUF_USER_DATA_MIN.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2018-02-10 15:49:36 +02:00 committed by Johan Hedberg
commit 5ded8d8d49
2 changed files with 1 additions and 8 deletions

View file

@ -187,13 +187,6 @@ config BT_CONN_TX_MAX
Maximum number of pending TX buffers that have not yet
been acknowledged by the controller.
config BT_L2CAP_TX_USER_DATA_SIZE
int "Maximum supported user data size for L2CAP TX buffers"
default 4
range 4 65535
help
Maximum supported user data size for L2CAP TX buffers.
config BT_ATT_ENFORCE_FLOW
bool "Enforce strict flow control semantics for incoming PDUs"
default y

View file

@ -35,7 +35,7 @@
NET_BUF_POOL_DEFINE(acl_tx_pool, CONFIG_BT_L2CAP_TX_BUF_COUNT,
BT_L2CAP_BUF_SIZE(CONFIG_BT_L2CAP_TX_MTU),
CONFIG_BT_L2CAP_TX_USER_DATA_SIZE, NULL);
BT_BUF_USER_DATA_MIN, NULL);
/* How long until we cancel HCI_LE_Create_Connection */
#define CONN_TIMEOUT K_SECONDS(3)