diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index 8ffbf43..013c587 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
if (session == NULL)
return;
- dev = manager_get_audio_device(device, FALSE);
+ dev = manager_get_audio_device(device, TRUE);
if (!dev) {
- dev = manager_get_audio_device(device, TRUE);
- if (!dev) {
- error("Unable to get audio device object for %s",
- address);
- goto drop;
- }
+ error("Unable to get audio device object for %s", address);
+ goto drop;
}
if (dev->control == NULL) {