From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- profiles/audio/manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/audio/manager.c b/profiles/audio/manager.c index 1f49aa3..0f6a4f7 100644 --- a/profiles/audio/manager.c +++ b/profiles/audio/manager.c @@ -485,7 +485,7 @@ void audio_sink_connected(struct btd_device *dev, int err) void audio_sink_disconnected(struct btd_device *dev, int err) { - device_profile_connected(dev, &a2dp_sink_profile, err); + device_profile_disconnected(dev, &a2dp_sink_profile, err); } void audio_source_connected(struct btd_device *dev, int err) @@ -495,7 +495,7 @@ void audio_source_connected(struct btd_device *dev, int err) void audio_source_disconnected(struct btd_device *dev, int err) { - device_profile_connected(dev, &a2dp_source_profile, err); + device_profile_disconnected(dev, &a2dp_source_profile, err); } void audio_control_connected(struct btd_device *dev, int err) -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html