mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +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->con_handle = HCI_CON_HANDLE_INVALID;
|
||||
conn->role = HCI_ROLE_INVALID;
|
||||
|
||||
log_info("conn state %u", conn->state);
|
||||
// TODO: L2CAP should not send create connection command, instead a (new) gap function should be used
|
||||
switch (conn->state) {
|
||||
|
Loading…
Reference in New Issue
Block a user