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

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

Merge "le_audio: Add missing current state of group check"

parents 2d36105d 73fbbc59
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -867,7 +867,8 @@ bool LeAudioDeviceGroup::IsInTransition(void) {
}

bool LeAudioDeviceGroup::IsReleasingOrIdle(void) {
  return target_state_ == AseState::BTA_LE_AUDIO_ASE_STATE_IDLE;
  return (target_state_ == AseState::BTA_LE_AUDIO_ASE_STATE_IDLE) ||
         (current_state_ == AseState::BTA_LE_AUDIO_ASE_STATE_IDLE);
}

bool LeAudioDeviceGroup::IsGroupStreamReady(void) {