Skip to contentSkip to conversation

Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY

PATCH In review Alex Lu 2 participants 2 messages Aug 30, 2019 Bluetooth drivers

lore
Share & tools
lore

Alex Lu

author
#0 lore raw

PATCH 1/2 Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY

From: Alex Lu <[email protected]>

Realtek Bluetooth controllers can do both LE scan and BR/EDR inquiry at once, need to set HCI_QUIRK_SIMULTANEOUS_DISCOVERY quirk.

---
 drivers/bluetooth/btrtl.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/bluetooth/btrtl.c +5 -0
index 4f75a9b61d09..b7487ab99eed 100644
@@ -641,6 +641,11 @@ int btrtl_setup_realtek(struct hci_dev *hdev)
 
 	btrtl_free(btrtl_dev);
 
+	/* Enable controller to do both LE scan and BR/EDR inquiry
+	 * simultaneously.
+	 */
+	set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
+
 	return ret;
 }
 EXPORT_SYMBOL_GPL(btrtl_setup_realtek);
Signature · 1 line
2.21.0
maintainer
#1 lore raw

Hi Alex,

Quoted 7 lines

Realtek Bluetooth controllers can do both LE scan and BR/EDR inquiry at once, need to set HCI_QUIRK_SIMULTANEOUS_DISCOVERY quirk.

---
drivers/bluetooth/btrtl.c | 5 +++++

1 file changed, 5 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel