avdtp initiator: fix compile

This commit is contained in:
Milanka Ringwald 2018-09-14 15:05:49 +02:00
parent 8d254f098a
commit c4bbf7740f

View File

@ -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);