From 727ea490292255e3d0462f583fbc490a5c4936e4 Mon Sep 17 00:00:00 2001 From: Rubin Gerritsen Date: Wed, 12 Jan 2022 14:59:26 +0100 Subject: [PATCH] Bluetooth: Fix default event size when periodic adv sync is enabled Periodic Advertising reports can be up to 255. Signed-off-by: Rubin Gerritsen --- subsys/bluetooth/common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/common/Kconfig b/subsys/bluetooth/common/Kconfig index 83d668efd79..456b5366f26 100644 --- a/subsys/bluetooth/common/Kconfig +++ b/subsys/bluetooth/common/Kconfig @@ -109,7 +109,7 @@ config BT_BUF_ACL_RX_COUNT config BT_BUF_EVT_RX_SIZE int "Maximum supported HCI Event buffer length" - default 255 if (BT_EXT_ADV && !(BT_BUF_EVT_DISCARDABLE_COUNT > 0)) || BT_PER_ADV + default 255 if (BT_EXT_ADV && !(BT_BUF_EVT_DISCARDABLE_COUNT > 0)) || BT_PER_ADV_SYNC # LE Read Supported Commands command complete event. default 68 range 68 255