mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-25 00:02:27 +00:00
hci: remove code to init new connection
already set in create_connection_for_bd_addr_and_type for new connection
This commit is contained in:
parent
10277393e9
commit
b5ea8df664
@ -6089,9 +6089,6 @@ uint8_t hci_send_cmd_packet(uint8_t *packet, int size){
|
|||||||
conn->role = HCI_ROLE_MASTER;
|
conn->role = HCI_ROLE_MASTER;
|
||||||
}
|
}
|
||||||
|
|
||||||
conn->con_handle = HCI_CON_HANDLE_INVALID;
|
|
||||||
conn->role = HCI_ROLE_INVALID;
|
|
||||||
|
|
||||||
log_info("conn state %u", conn->state);
|
log_info("conn state %u", conn->state);
|
||||||
// TODO: L2CAP should not send create connection command, instead a (new) gap function should be used
|
// TODO: L2CAP should not send create connection command, instead a (new) gap function should be used
|
||||||
switch (conn->state) {
|
switch (conn->state) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user