]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_sync: Wait for proper events when connecting LE
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 22 Dec 2021 20:21:58 +0000 (12:21 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 22 Dec 2021 22:01:35 +0000 (23:01 +0100)
commitec610155d279f0720ccb0dde0deebb85f6d23360
tree3cd59b4859e26e581c5bf9aa3fd9b24bc2a9d95e
parentcb6054736914648703c1c532210c68e6023fde09
Bluetooth: hci_sync: Wait for proper events when connecting LE

When using HCI_OP_LE_CREATE_CONN wait for HCI_EV_LE_CONN_COMPLETE before
completing it and for HCI_OP_LE_EXT_CREATE_CONN wait for
HCI_EV_LE_ENHANCED_CONN_COMPLETE before resuming advertising.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_sync.c