OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
010376a
)
Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY
author
Alex Lu
<alex_lu@realsil.com.cn>
Fri, 30 Aug 2019 12:02:14 +0000
(20:02 +0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 5 Sep 2019 15:27:22 +0000
(17:27 +0200)
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>
drivers/bluetooth/btrtl.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/btrtl.c
b/drivers/bluetooth/btrtl.c
index
4f75a9b
..
b7487ab
100644
(file)
--- 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);