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

Commit 203320b7 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Remove reduntant check

This check is wrong and will always pass it thru

Bug: 331775328
Test: atest bluetooth_le_audio_client_test
Flag: Exempt, trivial fix, regression tested with unit tests
Change-Id: I3976c9983c9e1612ffa5b4a6dda7527a8c0d81c9
parent e48b0f74
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -3209,14 +3209,6 @@ class LeAudioClientImpl : public LeAudioClient {
  }

  void SendAudioGroupSelectableCodecConfigChanged(LeAudioDeviceGroup* group) {
    // This shall be called when device gets active
    auto* stream_conf = &group->stream_conf;
    if (stream_conf == nullptr) {
      log::warn("Stream configuration is not valid for group id {}",
                group->group_id_);
      return;
    }

    auto leAudioDevice = group->GetFirstDevice();
    callbacks_->OnAudioGroupSelectableCodecConf(
        group->group_id_,