diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fecf925a..a08b06969 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/classic/hid_host.c b/src/classic/hid_host.c index 51ef55d4b..271920863 100644 --- a/src/classic/hid_host.c +++ b/src/classic/hid_host.c @@ -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; }