aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorRocky Liao <rjliao@codeaurora.org>2019-08-21 14:23:39 +0800
committerMarcel Holtmann <marcel@holtmann.org>2019-09-05 17:27:22 +0200
commite14c167a58b80803f35edf575a33562411f9170d (patch)
tree04a3c8ff47d061edbea55d7bae3a1641b534d79c /drivers/bluetooth
parentBluetooth: hci_qca: Make structure qca_proto constant (diff)
downloadlinux-dev-e14c167a58b80803f35edf575a33562411f9170d.tar.xz
linux-dev-e14c167a58b80803f35edf575a33562411f9170d.zip
Bluetooth: hci_qca: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for QCA UART Radio
QCA UART Bluetooth controllers can do both LE scan and BR/EDR inquiry at once, need to set HCI_QUIRK_SIMULTANEOUS_DISCOVERY quirk. Signed-off-by: Rocky Liao <rjliao@codeaurora.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/hci_qca.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 0cf532071664..15753f6bce80 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -1242,6 +1242,11 @@ static int qca_setup(struct hci_uart *hu)
/* Patch downloading has to be done without IBS mode */
clear_bit(QCA_IBS_ENABLED, &qca->flags);
+ /* Enable controller to do both LE scan and BR/EDR inquiry
+ * simultaneously.
+ */
+ set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
+
if (qca_is_wcn399x(soc_type)) {
bt_dev_info(hdev, "setting up wcn3990");