Diff between 57c6030cd3791ed77aea4eb9a70a62e04249aed7 and bc54a084d10f5a214622600c586e336ce6f7e144

Changed Files

File Additions Deletions Status
audio/manager.c +1 -1 modified

Full Patch

diff --git a/audio/manager.c b/audio/manager.c
index 9ca8593..5c81957 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -706,7 +706,7 @@ static int ag_probe(struct btd_device *device, GSList *uuids)
 		return -1;
 	}
 
-	if (!audio_dev->gateway)
+	if (audio_dev->gateway)
 		return -EALREADY;
 
 	audio_dev->gateway = gateway_init(audio_dev);