mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-26 00:40:38 +00:00
hci: fix null dereference in hci_send_cmd_packet when hci connection when table is full (II)
This commit is contained in:
parent
7224be7e77
commit
274dad91fe
@ -2825,7 +2825,7 @@ int hci_send_cmd_packet(uint8_t *packet, int size){
|
||||
// if connection active exists
|
||||
case OPEN:
|
||||
// and OPEN, emit connection complete command, don't send to controller
|
||||
hci_emit_connection_complete(addr, 0, 0);
|
||||
hci_emit_connection_complete(addr, conn->con_handle, 0);
|
||||
return 0;
|
||||
case SEND_CREATE_CONNECTION:
|
||||
// connection created by hci, e.g. dedicated bonding
|
||||
|
Loading…
x
Reference in New Issue
Block a user