[PATCH 1/2] Bluetooth: virtio: fix RX buffer size

From: Igor Skalkin

Date: Fri Aug 07 2026 - 13:46:49 EST


The fixed 1000-byte RX buffer is too small for an HCI frame at the
advertised ACL MTU. Size the buffer for HCI_MAX_FRAME_SIZE and one HCI
packet-type byte instead.

Signed-off-by: Igor Skalkin <igor.skalkin@xxxxxxxxxxxxxxxx>
---
drivers/bluetooth/virtio_bt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/virtio_bt.c b/drivers/bluetooth/virtio_bt.c
index 140ab55c9..96f21501e 100644
--- a/drivers/bluetooth/virtio_bt.c
+++ b/drivers/bluetooth/virtio_bt.c
@@ -12,7 +12,7 @@
#include <net/bluetooth/hci_core.h>

#define VERSION "0.1"
-#define VIRTBT_RX_BUF_SIZE 1000
+#define VIRTBT_RX_BUF_SIZE (HCI_MAX_FRAME_SIZE + 1)

enum {
VIRTBT_VQ_TX,
--
2.53.0