mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-28 18:32:41 +00:00
hid_host: use round robin for outgoing connections
This commit is contained in:
parent
0e57192257
commit
113d01ce21
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user