public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME
@ 2018-03-21 16:09 Vic Wei
  2018-03-21 16:24 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Vic Wei @ 2018-03-21 16:09 UTC (permalink / raw)
  To: marcel, linux-kernel, majordomo
  Cc: stable, linux-arm-msm, linux-arm-kernel, kumo, vwei, Vic Wei

QCA Rome controllers can do both LE scan and BR/EDR inquiry at once.

Change-Id: I89e1412d635f4cd7b2500f7492f37430ea139f0c
Signed-off-by: Vic Wei <vwei@codeaurora.org>
---
 drivers/bluetooth/btusb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 60bf04b..b94ff37 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -3050,6 +3050,7 @@ static int btusb_probe(struct usb_interface *intf,
 	if (id->driver_info & BTUSB_QCA_ROME) {
 		data->setup_on_usb = btusb_setup_qca;
 		hdev->set_bdaddr = btusb_set_bdaddr_ath3012;
+		set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
 	}
 
 #ifdef CONFIG_BT_HCIBTUSB_RTL
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-21 19:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-21 16:09 [PATCH 1/1] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME Vic Wei
2018-03-21 16:24 ` Greg KH
2018-03-21 18:10   ` Harsh Shandilya
2018-03-21 19:38     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox