Skip to content

Commit

Permalink
bap: Fix not able to reconfigure
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Vudentz committed Dec 2, 2022
1 parent 7642669 commit 707a547
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions profiles/audio/bap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 707a547

Please sign in to comment.