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

Commit 9c437345 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Automerger Merge Worker
Browse files

Merge "leaudio: Configure only connected device" am: 3aa36b67

parents f86a6521 3aa36b67
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1081,6 +1081,9 @@ bool LeAudioDeviceGroup::ConfigureAses(
      /* Skip if device has ASE configured in this direction already */
      if (device->GetFirstActiveAseByDirection(ent.direction)) continue;

      /* For the moment, we configure only connected devices. */
      if (device->conn_id_ == GATT_INVALID_CONN_ID) continue;

      if (!device->ConfigureAses(ent, context_type, &active_ase_num,
                                 group_snk_audio_locations,
                                 group_src_audio_locations, reuse_cis_id))