mbox series

[V3,0/2] Bluetooth: btusb: Fix regression in the initialization of fake Bluetooth controllers

Message ID 20250224205439.18672-1-nishiyama.pedro@gmail.com
Headers show
Series Bluetooth: btusb: Fix regression in the initialization of fake Bluetooth controllers | expand

Message

Pedro Nishiyama Feb. 24, 2025, 8:54 p.m. UTC
These fake controllers cannot be initialized because they return a smaller 
report than expected for HCI_READ_VOICE_SETTING and HCI_READ_PAGE_SCAN_TYPE.

This affects fake controllers reusing the 0A12:0001 VID/PID.

Fixes: c8992cffbe74 ("Bluetooth: hci_event: Use of a function table to handle Command Complete")
Signed-off-by: Pedro Nishiyama <nishiyama.pedro@gmail.com>
---
Changes in v3:
- Correct the fixes commit. 

Changes in v2:
- Separate the driver changes from the quirks changes.

---
Pedro Nishiyama (2):
  Bluetooth: Add new quirks for fake Bluetooth dongles
  Bluetooth: btusb: Fix regression in the initialization of fake
    Bluetooth controllers

 drivers/bluetooth/btusb.c   |  2 ++
 include/net/bluetooth/hci.h | 16 ++++++++++++++++
 net/bluetooth/hci_sync.c    |  6 ++++++
 3 files changed, 24 insertions(+)