1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-02-24 12:40:47 +00:00

a2dp_source: reset discover seps timer also on answer to remote discover seps command

This commit is contained in:
Matthias Ringwald 2021-10-09 15:53:57 +02:00
parent f102895433
commit 02fa22bcb6

@ -519,6 +519,7 @@ void avdtp_acceptor_stream_config_subsm_run(avdtp_connection_t *connection) {
connection->state = AVDTP_SIGNALING_CONNECTION_OPENED;
connection->acceptor_connection_state = AVDTP_SIGNALING_CONNECTION_ACCEPTOR_IDLE;
avdtp_acceptor_send_seps_response(connection->l2cap_signaling_cid, connection->acceptor_transaction_label, (avdtp_stream_endpoint_t *) stream_endpoints);
avdtp_signaling_emit_accept(connection->avdtp_cid, 0, connection->acceptor_signaling_packet.signal_identifier, false);
break;
case AVDTP_SIGNALING_CONNECTION_ACCEPTOR_W2_REJECT_WITH_ERROR_CODE:
connection->acceptor_connection_state = AVDTP_SIGNALING_CONNECTION_ACCEPTOR_IDLE;