Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY

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: Alex Lu <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
Alex Lu 2019-08-30 20:02:14 +08:00 • committed by Marcel Holtmann
commit 65251e2e0a

View file

@ -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);