Bluetooth: Shell: BR: Set user data size for rfcomm tx pool
The user data size of the RFCOMM tx pool is zero. There is not enough space to put the tx_meta data. Use CONFIG_BT_CONN_TX_USER_DATA_SIZE to set the data size for the RFCOMM tx pool. Signed-off-by: Make Shi <make.shi@nxp.com>
This commit is contained in:
parent
232ecfd880
commit
7349c8572d
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
|||
|
||||
#define DATA_MTU 48
|
||||
|
||||
NET_BUF_POOL_FIXED_DEFINE(pool, 1, DATA_MTU, 0, NULL);
|
||||
NET_BUF_POOL_FIXED_DEFINE(pool, 1, DATA_MTU, CONFIG_BT_CONN_TX_USER_DATA_SIZE, NULL);
|
||||
|
||||
static struct bt_sdp_attribute spp_attrs[] = {
|
||||
BT_SDP_NEW_SERVICE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue