avdtp_initiator: clear in use flag if set configuration message is rejected

This commit is contained in:
Matthias Ringwald 2023-01-27 15:50:25 +01:00
parent 2aa68e5ac3
commit 9b7e25157d

View File

@ -283,6 +283,7 @@ void avdtp_initiator_stream_config_subsm(avdtp_connection_t *connection, uint8_t
switch (connection->initiator_signaling_packet.signal_identifier){
case AVDTP_SI_SET_CONFIGURATION:
connection->configuration_state = AVDTP_CONFIGURATION_STATE_IDLE;
sep.in_use = 0;
log_info("Received reject for set configuration, role changed from initiator to acceptor. TODO: implement retry.");
break;
case AVDTP_SI_RECONFIGURE: