From 707a547e4d68fd4e848d349142746587de972039 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 28 Nov 2022 15:31:28 -0800 Subject: [PATCH] bap: Fix not able to reconfigure While attempting to configure QoS setting the request id is not reset to 0 when a response is received which prevents any the QoS to be reconfigured. --- profiles/audio/bap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index 67aba3bd7..9cee9fd03 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -366,6 +366,8 @@ static void qos_cb(struct bt_bap_stream *stream, uint8_t code, uint8_t reason, DBG("stream %p code 0x%02x reason 0x%02x", stream, code, reason); + ep->id = 0; + if (!ep->msg) return; -- 2.47.3