Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd6bdcfc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "le_audio: Configure bi-directional CISes only for active ASEs"

parents c141c9bc 07261639
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -366,12 +366,12 @@ class LeAudioGroupStateMachineImpl : public LeAudioGroupStateMachine {
      do {
        auto ases_pair = leAudioDevice->GetAsesByCisId(ase->cis_id);

        if (ases_pair.sink) {
        if (ases_pair.sink && ases_pair.sink->active) {
          ases_pair.sink->cis_conn_hdl = conn_handles[i];
          ases_pair.sink->data_path_state =
              AudioStreamDataPathState::CIS_ASSIGNED;
        }
        if (ases_pair.source) {
        if (ases_pair.source && ases_pair.source->active) {
          ases_pair.source->cis_conn_hdl = conn_handles[i];
          ases_pair.source->data_path_state =
              AudioStreamDataPathState::CIS_ASSIGNED;