From: Luiz Augusto von Dentz <[email protected]>
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 67aba3bd76d9..9cee9fd030da 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.37.3