From c4bbf7740f53d5f9eb444488c7a42753c0c11544 Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Fri, 14 Sep 2018 15:05:49 +0200 Subject: [PATCH] avdtp initiator: fix compile --- src/classic/avdtp_initiator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/classic/avdtp_initiator.c b/src/classic/avdtp_initiator.c index f98798e87..e428387b4 100644 --- a/src/classic/avdtp_initiator.c +++ b/src/classic/avdtp_initiator.c @@ -151,10 +151,10 @@ void avdtp_initiator_stream_config_subsm(avdtp_connection_t * connection, uint8_ break; } // copy sbc media codec info - stream_endpoint->remote_seid.configured_service_categories |= stream_endpoint->remote_configuration_bitmap; - stream_endpoint->remote_seid.configuration = stream_endpoint->remote_configuration; + stream_endpoint->remote_sep.configured_service_categories |= stream_endpoint->remote_configuration_bitmap; + stream_endpoint->remote_sep.configuration = stream_endpoint->remote_configuration; memcpy(stream_endpoint->media_codec_sbc_info, stream_endpoint->remote_configuration.media_codec.media_codec_information, 4); - stream_endpoint->remote_seid.configuration.media_codec.media_codec_information = stream_endpoint->media_codec_sbc_info; + stream_endpoint->remote_sep.configuration.media_codec.media_codec_information = stream_endpoint->media_codec_sbc_info; #if 0 sep.configured_service_categories = avdtp_unpack_service_capabilities(connection, &sep.configuration, connection->signaling_packet.command+4, connection->signaling_packet.size-4);