From 602367e708827d4ecbe6640f348d1a2fc7dbed6b Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 13 Nov 2015 17:38:03 +0200 Subject: [PATCH] Bluetooth: Increase BLUETOOTH_HCI_EVT_COUNT Some controller may actually generate more than 6 events simultaneously as it seems to be tied with the number of buffers increase it to 8 whenever BLUETOOTH_CONN is selected otherwise default to 4. Change-Id: I907847f56c2eb2d756513da171ff780aeb544259 Signed-off-by: Luiz Augusto von Dentz --- net/bluetooth/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig index f4ee3bbcd00..6395e5daa69 100644 --- a/net/bluetooth/Kconfig +++ b/net/bluetooth/Kconfig @@ -51,7 +51,8 @@ config BLUETOOTH_MAX_CMD_LEN config BLUETOOTH_HCI_EVT_COUNT int "Number of HCI event buffers" - default 6 + default 8 if BLUETOOTH_CONN + default 4 range 2 64 help Number of buffers available for HCI events. This number should