Skip to content

Bluetooth: BAP: Broadcast sink is not updating receive state on synced #80954

@Thalley

Description

@Thalley

Describe the bug
In broadcast_sink_iso_connected there is a check before the receive state is updated:

	if (broadcast_sink_get_state(sink) != BT_BAP_EP_STATE_STREAMING) {
		update_recv_state_big_synced(sink);
	}

This means that the receive state is updated when broadcast_sink_get_state returns a value different than BT_BAP_EP_STATE_STREAMING, which is never in this case since BT_BAP_EP_STATE_STREAMING returns the maximum state of all the BIS.

To Reproduce
N/A

Expected behavior
Expect update_recv_state_big_synced to be called once all streams enter the streaming state.

Impact
Incorrect behavior. Spec violation.

Logs and console output
N/A

Environment (please complete the following information):

  • Commit SHA or Version used: b9fc4cc

Additional context
N/A

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions