From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 20 Nov 2012 16:01:14 -0200 From: Gustavo Padovan To: =?iso-8859-1?Q?Fr=E9d=E9ric?= Dalleau Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH 2/2] Bluetooth: Implement deferred sco socket setup Message-ID: <20121120180114.GJ14006@joana> References: <1353342958-25303-1-git-send-email-frederic.dalleau@linux.intel.com> <1353342958-25303-3-git-send-email-frederic.dalleau@linux.intel.com> <20121120173734.GG14006@joana> <50ABC41B.8030802@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: <50ABC41B.8030802@linux.intel.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: * Frédéric Dalleau [2012-11-20 18:55:39 +0100]: > Hi Gustavo, > > I'm taking your remarks into account asap > > On 11/20/2012 06:37 PM, Gustavo Padovan wrote: > >Where do you set sk_state to BT_CONNECTED. Doesn't it need to be here? > The state is set to BT_CONNECTED in hci_sync_conn_complete_evt. ie when > the connection is effectively created. Are we both talking about the sk_state var? I failed to see how it is set to BT_CONNECTED. Gustavo