hci: fix emit cis/bis created

This commit is contained in:
Matthias Ringwald 2024-11-18 21:01:01 +01:00
parent 4839cdf83e
commit 00220a2b29
2 changed files with 2 additions and 0 deletions

View File

@ -3162,6 +3162,7 @@ static void handle_command_complete_event(uint8_t * packet, uint16_t size){
}
break;
case HCI_ISO_STREAM_STATE_W4_ISO_SETUP_OUTPUT:
iso_stream->state = HCI_ISO_STREAM_STATE_ACTIVE;
emit_cis_created = true;
break;
default:

View File

@ -731,6 +731,7 @@ typedef enum{
HCI_ISO_STREAM_STATE_W4_ISO_SETUP_INPUT,
HCI_ISO_STREAM_STATE_W2_SETUP_ISO_OUTPUT,
HCI_ISO_STREAM_STATE_W4_ISO_SETUP_OUTPUT,
HCI_ISO_STREAM_STATE_ACTIVE,
HCI_ISO_STREAM_STATE_W2_CLOSE,
HCI_ISO_STREAM_STATE_W4_DISCONNECTED,
} hci_iso_stream_state_t;