diff --git a/src/hci.c b/src/hci.c index 0abf50ee5..eea9599d3 100644 --- a/src/hci.c +++ b/src/hci.c @@ -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: diff --git a/src/hci.h b/src/hci.h index e64ac111a..f33e6644c 100644 --- a/src/hci.h +++ b/src/hci.h @@ -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;