Bluetooth: btusb: Fix regression in the initialization of fake Bluetooth controllers
authorPedro Nishiyama <nishiyama.pedro@gmail.com>
Sat, 1 Mar 2025 06:23:01 +0000 (03:23 -0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 25 Mar 2025 16:44:32 +0000 (12:44 -0400)
commit1f04b0e5e3b90b30f3ae7bee7e3d42a55fa91d5f
tree4d52080133831ef29ba286ed8c8444732a5f20ff
parent14d17c78a4b1660c443bae9d38c814edea506f62
Bluetooth: btusb: Fix regression in the initialization of fake Bluetooth controllers

Set HCI_READ_VOICE_SETTING and HCI_READ_PAGE_SCAN_TYPE as broken.

Once the min/max length of the commands began to be asserted, these fake
controllers can no longer be initialized because they return a smaller
report for these commands.

This affects various 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>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c