diff options
| author | 2022-02-17 13:10:38 -0800 | |
|---|---|---|
| committer | 2022-02-24 21:34:28 +0100 | |
| commit | a56a1138cbd85e4d565356199d60e1cb94e5a77a (patch) | |
| tree | 31cdc534b40a0700f144d8df0915ac8e15397001 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | Bluetooth: hci_sync: Fix hci_update_accept_list_sync (diff) | |
| download | linux-dev-a56a1138cbd85e4d565356199d60e1cb94e5a77a.tar.xz linux-dev-a56a1138cbd85e4d565356199d60e1cb94e5a77a.zip | |
Bluetooth: hci_sync: Fix not using conn_timeout
When using hci_le_create_conn_sync it shall wait for the conn_timeout
since the connection complete may take longer than just 2 seconds.
Also fix the masking of HCI_EV_LE_ENHANCED_CONN_COMPLETE and
HCI_EV_LE_CONN_COMPLETE so they are never both set so we can predict
which one the controller will use in case of HCI_OP_LE_CREATE_CONN.
Fixes: 6cd29ec6ae5e3 ("Bluetooth: hci_sync: Wait for proper events when connecting LE")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
