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

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

leaudio: Move log so it is not confusing.

For the moment, this log shows ase id and assigned cis id.
Previoulsy cis_id could be presented before it was assigned and this was
confusing.

Bug: 150670922
Bug: 227553507
Test: compile
sponsor: @jpawlowski
Change-Id: Ic266ac93420ad30b7ac0391dc0f04384477b1dc2
parent 3a4272f5
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1151,8 +1151,6 @@ class LeAudioGroupStateMachineImpl : public LeAudioGroupStateMachine {
      if (cis_id == le_audio::kInvalidCisId) {
        /* Get completive (to be bi-directional CIS) CIS ID for ASE */
        cis_id = leAudioDevice->GetMatchingBidirectionCisId(ase);
        LOG_INFO(" Configure ase_id %d, cis_id %d, ase state %s", ase->id,
                 cis_id, ToString(ase->state).c_str());
        if (cis_id == le_audio::kInvalidCisId) {
          /* Get next free CIS ID for group */
          cis_id = group->GetFirstFreeCisId();
@@ -1164,6 +1162,9 @@ class LeAudioGroupStateMachineImpl : public LeAudioGroupStateMachine {
        }
      }

      LOG_INFO(" Configure ase_id %d, cis_id %d, ase state %s", ase->id, cis_id,
               ToString(ase->state).c_str());

      ase->cis_id = cis_id;

      conf.ase_id = ase->id;