mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 01:13:23 +00:00
hci: handle hci_create_connection triggered in disconnection complete event
This commit is contained in:
parent
b01363557c
commit
672e36abdf
@ -4030,6 +4030,9 @@ int hci_send_cmd_packet(uint8_t *packet, int size){
|
||||
// and OPEN, emit connection complete command
|
||||
hci_emit_connection_complete(addr, conn->con_handle, 0);
|
||||
return -1; // packet not sent to controller
|
||||
case RECEIVED_DISCONNECTION_COMPLETE:
|
||||
// create connection triggered in disconnect complete event, let's do it now
|
||||
break;
|
||||
case SEND_CREATE_CONNECTION:
|
||||
// connection created by hci, e.g. dedicated bonding, but not executed yet, let's do it now
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user