From 1418332d5ab4b32bb38e26a51b8993c4260b8558 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 14 Jul 2023 09:48:58 +0200 Subject: [PATCH] hci: fix setup of bi-direction iso stream, close #503 --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index da6c814fc..a8976d8e2 100644 --- a/src/hci.c +++ b/src/hci.c @@ -3019,7 +3019,7 @@ static void handle_command_complete_event(uint8_t * packet, uint16_t size){ break; } if (iso_stream->max_sdu_c_to_p > 0){ - iso_stream->state = HCI_ISO_STREAM_STATE_W2_SETUP_ISO_INPUT; + iso_stream->state = HCI_ISO_STREAM_STATE_W2_SETUP_ISO_OUTPUT; } else { emit_cis_created = true; }