hid_host: use round robin for outgoing connections

This commit is contained in:
Matthias Ringwald 2024-04-02 11:15:36 +02:00
parent 0e57192257
commit 113d01ce21
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- AVDTP: use round robin for outgoing connections
- AVRCP: use round robin for outgoing connections
- GOEP Client: use round robin for outgoing connections
- HID Host: use round robin for outgoing connections
### Changed
- HCI: hci_reserved_packet_buffer and higher layer functions asserts if packet buffer is free instead of return value

View File

@ -356,7 +356,7 @@ static hid_host_connection_t * hid_host_create_connection(bd_addr_t remote_addr)
connection->con_handle = HCI_CON_HANDLE_INVALID;
(void)memcpy(connection->remote_addr, remote_addr, 6);
btstack_linked_list_add(&hid_host_connections, (btstack_linked_item_t *) connection);
btstack_linked_list_add_tail(&hid_host_connections, (btstack_linked_item_t *) connection);
return connection;
}