Return-Path: MIME-Version: 1.0 In-Reply-To: References: <4EA564C1.8070402@monom.org> <4EA566BC.6070204@monom.org> From: Lucas De Marchi Date: Mon, 24 Oct 2011 11:39:59 -0200 Message-ID: Subject: Re: [BUG] Invalid file descriptor. To: Luiz Augusto von Dentz Cc: Daniel Wagner , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz, On Mon, Oct 24, 2011 at 11:36 AM, Luiz Augusto von Dentz wrote: > Hi Daniel, > > On Mon, Oct 24, 2011 at 4:23 PM, Daniel Wagner wrote: >>> >>> What about the patch? >> >> Sure, I will do as soon I have fixed all outstanding ConnMan bugs I found >> just recently. In other words don't expect very soon this patch :) > > Try with this: > > diff --git a/audio/manager.c b/audio/manager.c > index 818451c..3103824 100644 > --- a/audio/manager.c > +++ b/audio/manager.c > @@ -607,7 +607,6 @@ static void hf_io_cb(GIOChannel *chan, gpointer data) > ? ? ? ?if (perr < 0) { > ? ? ? ? ? ? ? ?DBG("Authorization denied!"); > ? ? ? ? ? ? ? ?gateway_set_state(device, GATEWAY_STATE_DISCONNECTED); > - ? ? ? ? ? ? ? goto drop; > ? ? ? ?} It seems correct. As far as I remember there are similar problems in other profiles like input /manager.c. Lucas De Marchi