]> git.hungrycats.org Git - linux/commit
Bluetooth: btrtl: fix RTL8761B/BU broken LE extended scan
authorAlexej Sidorenko <alexej@sidorenko.cz>
Wed, 29 Apr 2026 15:13:43 +0000 (17:13 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 11 Jun 2026 18:24:38 +0000 (14:24 -0400)
commit5ead2063611ae56809b1b113ac44cef9547c81d7
treeaaa82b0ec3b2e7c03d3ef47d516d96935c1ca3e6
parent48788c8de7c8cb36afcf8daa2be4b5160398af40
Bluetooth: btrtl: fix RTL8761B/BU broken LE extended scan

RTL8761B and RTL8761BU devices report HCI version 5.1 but do not
support the LE Extended Scan commands. This causes repeated failures
with Opcode 0x2042 (LE Set Extended Scan Parameters) returning -EBUSY
when BlueZ attempts extended scanning while a connection is active.

Set HCI_QUIRK_BROKEN_EXT_SCAN for CHIP_ID_8761B to make BlueZ fall
back to legacy LE scan commands which the firmware supports correctly.

Tested with RTL8761BU (USB ID 0bda:a728) where the issue manifested
as continuous 'Opcode 0x2042 failed: -16' errors in dmesg whenever
a BLE connection was active.

Signed-off-by: Alexej Sidorenko <alexej@sidorenko.cz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btrtl.c