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

Skip to content
Commit f21ef791 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

laudio: Fix choosing inactive ase whe it is in configured stated

Stack keeps cached configuration into the ase structure.
When ASE is used then ase->active is set to true and ase->cis_id is
set valid number.
When stream is released, CIG is destroyed. If ASE stays in configured
state then ase->active is set to false but ase->cis_id keeps previously
assigned cis_id. Thanks to this, stack is able to find configured ASE
and reuse it.
When ASEs states goes to IDLE, then ase->cis_id is cleared.

Bug: 222674521
Bug: 150670922
Test: atest --bluetooth_le_audio_test bluetoot_le_audio_client_test
Change-Id: I5778d588478051b72cae2f074c71e3e9d7d71403
parent 0d33ffe0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment