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

Commit d5f5499e authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Remove invalid code

This code incorrectly assign metadata from single ASE  and sends it back
to the server.

Bug: 230551601
Test: atest --host bluetooth_le_audio_client_test
bluetooth_le_audio_test

Change-Id: If435185e63fd1bd4ca1b7362990dac163facf332
(cherry picked from commit 548bc508)
parent 991745ec
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1854,13 +1854,10 @@ class LeAudioGroupStateMachineImpl : public LeAudioGroupStateMachine {
        /* Cache current set up metadata values for for further possible
         * reconfiguration
         */
        for (struct ase* ase = leAudioDevice->GetFirstActiveAse();
             ase != nullptr; ase = leAudioDevice->GetNextActiveAse(ase)) {
        if (!rsp.metadata.empty()) {
          ase->metadata = rsp.metadata;
        }

        PrepareAndSendUpdateMetadata(group, leAudioDevice,
                                     group->GetContextType());
        break;
      }
      default: