projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d0685
)
Bluetooth: vhci: Set HCI_QUIRK_VALID_LE_STATES
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Wed, 22 Dec 2021 20:22:01 +0000
(12:22 -0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 22 Dec 2021 22:01:35 +0000
(23:01 +0100)
This set HCI_QUIRK_VALID_LE_STATES quirk which is required for the likes
of experimental LE simultaneous roles.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_vhci.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/hci_vhci.c
b/drivers/bluetooth/hci_vhci.c
index 49ac884d996e640e05310d52799cf6732a393762..c443c3b0a4da508f2d2fb5936315efcb15dec280 100644
(file)
--- a/
drivers/bluetooth/hci_vhci.c
+++ b/
drivers/bluetooth/hci_vhci.c
@@
-331,6
+331,8
@@
static int __vhci_create_device(struct vhci_data *data, __u8 opcode)
if (opcode & 0x80)
set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);
+ set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks);
+
if (hci_register_dev(hdev) < 0) {
BT_ERR("Can't register HCI device");
hci_free_dev(hdev);