Skip to content

Commit

Permalink
shared/bap: Fix not being able to reconfigure Broadcast Source
Browse files Browse the repository at this point in the history
This fixes not being able to reconfigure broadcast source due to it
being in Releasing:

bluetoothd[37]: src/shared/bap.c:stream_set_state_broadcast() stream
0x8919e0 dir 0x00: streaming -> releasing
bluetoothd[37]: profiles/audio/bap.c:setup_new() ep 0x8802d0 setup
0x88d3e0
bluetoothd[37]: src/shared/bap.c:bt_bap_stream_new() Unable to find
unused ASE
  • Loading branch information
Vudentz committed Feb 2, 2024
1 parent 75095a9 commit b4aae7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/bap.c
Expand Up @@ -1379,6 +1379,7 @@ static void stream_set_state_broadcast(struct bt_bap_stream *stream,
break;
case BT_ASCS_ASE_STATE_RELEASING:
bap_stream_io_detach(stream);
stream_set_state_broadcast(stream, BT_BAP_STREAM_STATE_QOS);
break;
}

Expand Down

0 comments on commit b4aae7f

Please sign in to comment.