hci: fix setup of bi-direction iso stream, close #503

This commit is contained in:
Matthias Ringwald 2023-07-14 09:48:58 +02:00
parent 9d8be771b7
commit 1418332d5a

View File

@ -3019,7 +3019,7 @@ static void handle_command_complete_event(uint8_t * packet, uint16_t size){
break; break;
} }
if (iso_stream->max_sdu_c_to_p > 0){ 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 { } else {
emit_cis_created = true; emit_cis_created = true;
} }