linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] audio: Fix gateway probe always failing
@ 2012-09-04  9:55 Mikel Astiz
  2012-09-04 10:30 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Mikel Astiz @ 2012-09-04  9:55 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mikel Astiz

From: Mikel Astiz <mikel.astiz@bmw-carit.de>

Commit 813b674bce1aab009e7f2d14d1825f603330563d introduced this trivial
bug which causes the failure of the gateway profile probe.
---
 audio/manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] audio: Fix gateway probe always failing
  2012-09-04  9:55 [PATCH] audio: Fix gateway probe always failing Mikel Astiz
@ 2012-09-04 10:30 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-09-04 10:30 UTC (permalink / raw)
  To: Mikel Astiz; +Cc: linux-bluetooth, Mikel Astiz

Hi Mikel,

On Tue, Sep 04, 2012, Mikel Astiz wrote:
> From: Mikel Astiz <mikel.astiz@bmw-carit.de>
> 
> Commit 813b674bce1aab009e7f2d14d1825f603330563d introduced this trivial
> bug which causes the failure of the gateway profile probe.
> ---
>  audio/manager.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Good catch. The patch has now been applied. Thanks!

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-04 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-04  9:55 [PATCH] audio: Fix gateway probe always failing Mikel Astiz
2012-09-04 10:30 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).