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

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

leaudio: Fix removing data path

So far when CIS was disconnected with different reason than
HCI_ERR_CONN_CAUSE_LOCAL_HOST, then datapath was removed.

State Machine was not doing that when reason
HCI_ERR_CONN_CAUSE_LOCAL_HOST because when disconenction is intiated by
LeAudio, then datapath is already removed.

However it might happen that ACL can be disconnected by other module of
Bluetooth stack e.g. timeout on GATT transaction. In such a case,
controller will notify Host about CIS disconnection and ACL
disconnection with the reason HCI_ERR_CONN_CAUSE_LOCAL_HOST.

In this case, LeAudio shall clear data path.

Bug: 308095683
Test: atest bluetooth_le_audio_test
Tag: #feature
Change-Id: If698a2a05bd7ebdd0ea8ceae23fe0e4efe461317
parent 01ef9e2c
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