Skip to content

Commit cfb4c31

Browse files
Vudentzholtmann
authored andcommitted
Bluetooth: vhci: Set HCI_QUIRK_VALID_LE_STATES
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 <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent 76d0685 commit cfb4c31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/bluetooth/hci_vhci.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ static int __vhci_create_device(struct vhci_data *data, __u8 opcode)
331331
if (opcode & 0x80)
332332
set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);
333333

334+
set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks);
335+
334336
if (hci_register_dev(hdev) < 0) {
335337
BT_ERR("Can't register HCI device");
336338
hci_free_dev(hdev);

0 commit comments

Comments
 (0)