Bluetooth: Split ACL buffers into two distinct types
We'll soon want to have dedicated pools for outgoing and incoming ACL data. To know from which pool to get and put the buffers each buffer should contain enough information to distinguish the two types. This patch splits the old BT_ACL type into two new BT_ACL_IN & BT_ACL_OUT types. Change-Id: I7d3c05c26d2a70f80fb1229e245aa21673ec378b Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
550cdd9717
commit
4e65d0aac2
4 changed files with 8 additions and 7 deletions
|
@ -42,9 +42,10 @@
|
|||
|
||||
/* Type of data contained in this buffer */
|
||||
enum bt_buf_type {
|
||||
BT_CMD,
|
||||
BT_EVT,
|
||||
BT_ACL,
|
||||
BT_CMD, /* HCI command */
|
||||
BT_EVT, /* HCI event */
|
||||
BT_ACL_OUT, /* Outgoing ACL data */
|
||||
BT_ACL_IN, /* Incoming ACL data */
|
||||
};
|
||||
|
||||
struct bt_buf {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue