Skip to content

Commit 5d40986

Browse files
Bluetooth: Controller: Set default HCI event size with per adv
Periodic advertising reports can have 255 bytes of payload so need to use that value by default if periodic advertising is enabled. Signed-off-by: Andrzej Kaczmarek <[email protected]>
1 parent f0e1823 commit 5d40986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/common/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ config BT_BUF_ACL_RX_COUNT
111111

112112
config BT_BUF_EVT_RX_SIZE
113113
int "Maximum supported HCI Event buffer length"
114-
default 255 if (BT_EXT_ADV && !(BT_BUF_EVT_DISCARDABLE_COUNT > 0))
114+
default 255 if (BT_EXT_ADV && !(BT_BUF_EVT_DISCARDABLE_COUNT > 0)) || BT_PER_ADV
115115
# LE Read Supported Commands command complete event.
116116
default 68
117117
range 68 255

0 commit comments

Comments
 (0)