Bluetooth: Remove user data from outgoing ACL buffers

Outgoing ACL buffers don't need any user data.

Change-Id: If7e6a27b88d3aa64c51672190bdecc705429aa7b
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2015-10-28 21:12:50 +02:00 committed by Anas Nashif
commit 52cf66feb9

View file

@ -65,7 +65,7 @@ static struct bt_l2cap bt_l2cap_pool[CONFIG_BLUETOOTH_MAX_CONN];
#define BT_BUF_ACL_OUT_MAX 7
static struct nano_fifo avail_acl_out;
static NET_BUF_POOL(acl_out_pool, BT_BUF_ACL_OUT_MAX, BT_BUF_MAX_DATA,
&avail_acl_out, NULL, sizeof(struct bt_acl_data));
&avail_acl_out, NULL, 0);
static struct bt_l2cap *l2cap_chan_get(struct bt_conn *conn)
{