Hi Luiz, > This adds hci_le_create_conn_sync and make hci_le_connect use it instead > of queueing multiple commands which may conflict with the likes of > hci_update_passive_scan which uses hci_cmd_sync_queue. > > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > --- > v2: Remove setting of direct_rpa as random address and add a patch checking > hdev->le_states if simultaneous roles are supported. > v3: Fix checkpatch warnings. > v4: Add patch fixing LE simultaneous roles supported vs enabled. > v5: Add patch setting HCI_QUIRK_VALID_LE_STATES for vhci since it is > now required in order for LE simultaneous roles UUID to be listed as > experimental and was the reason mgmt-tester had 1 test failing. > > include/net/bluetooth/hci_core.h | 3 +- > include/net/bluetooth/hci_sync.h | 4 + > net/bluetooth/hci_conn.c | 305 ++----------------------------- > net/bluetooth/hci_event.c | 6 +- > net/bluetooth/hci_request.c | 50 ----- > net/bluetooth/hci_request.h | 2 - > net/bluetooth/hci_sync.c | 277 ++++++++++++++++++++++++++++ > net/bluetooth/l2cap_core.c | 2 +- > 8 files changed, 300 insertions(+), 349 deletions(-) all 6 patches have been applied to bluetooth-next tree. Regards Marcel