From d3a84258a9558f5d0bd9135524ad3861acdf58e5 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 2 Apr 2024 11:14:38 +0200 Subject: [PATCH] avrcp: use round robin for outgoing connections --- CHANGELOG.md | 1 + src/classic/avrcp.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f23e4645..99664d152 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - 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 +- AVRCP: 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/avrcp.c b/src/classic/avrcp.c index 0e9276a84..b4f29b417 100644 --- a/src/classic/avrcp.c +++ b/src/classic/avrcp.c @@ -568,7 +568,7 @@ static avrcp_connection_t * avrcp_create_connection(avrcp_role_t role, bd_addr_t log_info("avrcp_create_connection, role %d", role); (void)memcpy(connection->remote_addr, remote_addr, 6); - btstack_linked_list_add(&avrcp_connections, (btstack_linked_item_t *) connection); + btstack_linked_list_add_tail(&avrcp_connections, (btstack_linked_item_t *) connection); return connection; }