Skip to content
Permalink
Browse files

Bluetooth: Increase BT_BUF_USER_DATA_MIN to 8

Commit b65fe62 updated the minimum
required net_buf user data to 8 bytes, so increase this define as
well. It has no other practical purpose except to trigger build
asserts if the user data is for some reason ever decreased below this
minimum.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
  • Loading branch information...
jhedberg committed Jun 19, 2019
1 parent 86586b2 commit 17cd19663293e20e5da94229684c6f084798c1f6
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/bluetooth/buf.h
@@ -35,7 +35,7 @@ enum bt_buf_type {
};

/** Minimum amount of user data size for buffers passed to the stack. */
#define BT_BUF_USER_DATA_MIN 4
#define BT_BUF_USER_DATA_MIN 8

/** Data size neeed for HCI RX buffers */
#define BT_BUF_RX_SIZE (CONFIG_BT_HCI_RESERVE + CONFIG_BT_RX_BUF_LEN)

0 comments on commit 17cd196

Please sign in to comment.
You can’t perform that action at this time.