[PATCH 00/11] Bluetooth: Miscellaneous fixes and cleanups

From: Zijun Hu

Date: Sat Jul 25 2026 - 04:55:08 EST


This series collects simple, independent fixes and cleanups for the
Bluetooth core and USB/SDIO transport drivers.

Every patch is simple and self-contained: two bug fixes for btintel,
the rest are readability cleanups and two trivial ACL helpers
(hci_acl_handle()/hci_acl_dlen()) with their users.

Signed-off-by: Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx>
---
Zijun Hu (11):
Bluetooth: btintel: Fix diagnostics event detection
Bluetooth: btintel: Validate length before parsing diagnostics TLV
Bluetooth: coredump: Introduce and apply hci_devcd_state_name()
Bluetooth: btusb: Make btusb_recv_{event,acl}() take struct hci_dev *
Bluetooth: btusb: Add a simple static btusb_prepare_reset()
Bluetooth: hci: Introduce hci_acl_handle() and hci_acl_dlen() helpers
Bluetooth: hci_core: Simplify hci_recv_frame() by hci_acl_handle()
Bluetooth: btusb: Simplify btusb_recv_bulk() by hci_acl_dlen()
Bluetooth: btintel: Simplify btintel_classify_pkt_type() by hci_acl_handle()
Bluetooth: btmrvl_sdio: Do not free HCI_VENDOR_PKT frame by hci_recv_frame()
Bluetooth: hci_core: Don't treat HCI_DRV_PKT/HCI_DIAG_PKT as unknown type

drivers/bluetooth/btintel.c | 9 ++++----
drivers/bluetooth/btmrvl_sdio.c | 2 +-
drivers/bluetooth/btusb.c | 31 +++++++++++++++++----------
include/net/bluetooth/coredump.h | 7 +++++++
include/net/bluetooth/hci.h | 10 +++++++++
net/bluetooth/coredump.c | 45 +++++++++++++++++++++++++++++++++-------
net/bluetooth/hci_core.c | 11 ++++++++--
7 files changed, 90 insertions(+), 25 deletions(-)
---
base-commit: a3ad01d51d4be186484a9d8203e2e232f76326a9
change-id: 20260724-generic_fix-6f13710b92ea

Best regards,
--
Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx>