From 93d5245b3a726f17f09affa3ebbbf18cb4ddd998 Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Tue, 18 Jul 2017 15:32:27 +0200 Subject: [PATCH] avdtp: access attr over connection --- src/classic/avdtp_initiator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classic/avdtp_initiator.c b/src/classic/avdtp_initiator.c index 14a1b1698..578038d2c 100644 --- a/src/classic/avdtp_initiator.c +++ b/src/classic/avdtp_initiator.c @@ -180,7 +180,7 @@ void avdtp_initiator_stream_config_subsm(avdtp_connection_t * connection, uint8_ stream_endpoint->remote_sep_index = remote_sep_index; } else { stream_endpoint->remote_sep_index = connection->remote_seps_num; - stream_endpoint->connection->remote_seps_num++; + connection->remote_seps_num++; } connection->remote_seps[stream_endpoint->remote_sep_index] = sep; log_info(" INT: configured remote seid %d, to %p", connection->remote_seps[stream_endpoint->remote_sep_index].seid, stream_endpoint);