Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl

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

Signed-off-by: Claire Chang <tientzu@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

authored by

Claire Chang and committed by
Marcel Holtmann
7f9f2c3f ad3a9c0e

+5
+5
drivers/bluetooth/hci_h5.c
··· 906 906 /* Give the device some time before the hci-core sends it a reset */ 907 907 usleep_range(10000, 20000); 908 908 909 + /* Enable controller to do both LE scan and BR/EDR inquiry 910 + * simultaneously. 911 + */ 912 + set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &h5->hu->hdev->quirks); 913 + 909 914 out_free: 910 915 btrtl_free(btrtl_dev); 911 916