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