From a54f7443444024f3655e9c8243b7f3a68b9600b8 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 2 Apr 2024 11:08:15 +0200 Subject: [PATCH] hfp: use round robin for outgoing connections --- CHANGELOG.md | 1 + src/classic/hfp.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1340d967f..5871f3110 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - SM: ignore Security Request after re-encryption has started - ATT Server: support delayed read responses for registered services - ATT Server: allow to start crypto operation from delayed att read/write request +- HFP: use round robin for outgoing connections - 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 diff --git a/src/classic/hfp.c b/src/classic/hfp.c index b25a8ada6..0b3febb18 100644 --- a/src/classic/hfp.c +++ b/src/classic/hfp.c @@ -644,7 +644,7 @@ static hfp_connection_t * create_hfp_connection_context(void){ hfp_reset_context_flags(hfp_connection); - btstack_linked_list_add(&hfp_connections, (btstack_linked_item_t*)hfp_connection); + btstack_linked_list_add_tail(&hfp_connections, (btstack_linked_item_t*)hfp_connection); return hfp_connection; }