Return-Path: Date: Wed, 18 Jul 2012 10:13:39 +0300 From: Andrei Emeltchenko To: ramm@ti.com, linux-bluetooth@vger.kernel.org Subject: Re: [PATCH v3] Bluetooth: Device Scan and connection collision fix Message-ID: <20120718071338.GD18697@aemeltch-MOBL1> References: <1342542094-13486-1-git-send-email-ramm@ti.com> <20120718071148.GC18697@aemeltch-MOBL1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20120718071148.GC18697@aemeltch-MOBL1> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On Wed, Jul 18, 2012 at 10:11:50AM +0300, Andrei Emeltchenko wrote: > Hi Ram, > > On Tue, Jul 17, 2012 at 07:21:34PM +0300, ramm@ti.com wrote: > > From: Ram Malovany > > > > During search of devices, HCI Remote Name Request Command is sent for > > every device which name was not included in inquiry result. But the > > same command is also sent during incoming connection establishing > > procedure. Function hci_check_pending_name() was fixed in order to > > handle this situation which led to a kernel crash when initiating > > an incoming connection from a device that was not found in the > > inquiry while doing a search. There is no need to continue resolving > > the next name if we get the request from the incoming connection > > procedure as it will be done upon receiving another remote name > > request complete event You can also change subject from: [PATCH v3] Bluetooth: Device Scan and connection collision fix to: [PATCH v3] Bluetooth: Fix Device Scan and connection collision Best regards Andrei Emeltchenko