diff options
author | Alex Lu <alex_lu@realsil.com.cn> | 2019-08-30 14:02:14 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-09-05 17:27:22 +0200 |
commit | 65251e2e0ad379d89f5784626b8c40ff62220d8b (patch) | |
tree | 9c87e1d844f5bda0afb7854a0404314c63a4e3e5 /drivers/bluetooth | |
parent | Bluetooth: hci_qca: wait for Pre shutdown complete event before sending the P... (diff) | |
download | linux-65251e2e0ad379d89f5784626b8c40ff62220d8b.tar.xz linux-65251e2e0ad379d89f5784626b8c40ff62220d8b.zip |
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 <alex_lu@realsil.com.cn>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/btrtl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c index 4f75a9b61d09..b7487ab99eed 100644 --- a/drivers/bluetooth/btrtl.c +++ b/drivers/bluetooth/btrtl.c @@ -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); |