Commit 6cd29ec
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>1 parent 85b5685 commit 6cd29ec
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5182 | 5182 | | |
5183 | 5183 | | |
5184 | 5184 | | |
5185 | | - | |
5186 | | - | |
| 5185 | + | |
| 5186 | + | |
| 5187 | + | |
| 5188 | + | |
5187 | 5189 | | |
5188 | 5190 | | |
5189 | 5191 | | |
| |||
5269 | 5271 | | |
5270 | 5272 | | |
5271 | 5273 | | |
5272 | | - | |
5273 | | - | |
| 5274 | + | |
| 5275 | + | |
| 5276 | + | |
5274 | 5277 | | |
5275 | 5278 | | |
5276 | 5279 | | |
| |||
0 commit comments