avdtp: use round robin for outgoing connections

This commit is contained in:
Matthias Ringwald 2024-04-02 11:08:42 +02:00
parent a54f744344
commit dbdb76a871
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- HFP HF: send HF Indicator update only if enabled by AG
- HFP AG: send OK after SLC for HF that does not support 3-way-calling or HF Indicators
- HSP HS: use EV3 and 2EV3 packets for 7.5 ms voice interval
- AVDTP: 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

@ -248,7 +248,7 @@ static avdtp_connection_t * avdtp_create_connection(bd_addr_t remote_addr, uint1
connection->avdtp_cid = cid;
(void)memcpy(connection->remote_addr, remote_addr, 6);
btstack_linked_list_add(&avdtp_connections, (btstack_linked_item_t *) connection);
btstack_linked_list_add_tail(&avdtp_connections, (btstack_linked_item_t *) connection);
return connection;
}