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

Commit 2da4129b authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Clear cis handle from ase when not needed anymore

Bug: 245725461
Test: atest BluetoothInstrumentationTests
Tag: #feature

Change-Id: I45d326dc60e17ea62a2912cee175bdf0f9e3cda3
parent 5b6e9c33
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -538,6 +538,7 @@ class LeAudioGroupStateMachineImpl : public LeAudioGroupStateMachine {
    while (leAudioDevice != nullptr) {
      for (auto& ase : leAudioDevice->ases_) {
        ase.cis_id = le_audio::kInvalidCisId;
        ase.cis_conn_hdl = 0;
      }
      leAudioDevice = group->GetNextDevice(leAudioDevice);
    }