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
Loading
Please register or sign in to comment