summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-11-28 15:31:28 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-12-02 11:19:56 -0800
commit707a547e4d68fd4e848d349142746587de972039 (patch)
tree4db6e6a0819e8d3235e0633cfbe23593299c1dee /profiles
parent7642669e4496563ff7c945583c5736364b8a6c37 (diff)
downloadbluez-707a547e4d68fd4e848d349142746587de972039.tar.gz
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.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/audio/bap.c2
1 files changed, 2 insertions, 0 deletions
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;