From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 8 Jun 2011 00:02:02 +0900 From: Johan Hedberg To: Luiz Augusto von Dentz Cc: Andre Guedes , linux-bluetooth@vger.kernel.org Subject: Re: [PATCH v2 06/11] Bluetooth: Advertising entries lifetime Message-ID: <20110607150202.GA1952@dell.ccr.corp.intel.com> References: <1305936645-15007-1-git-send-email-andre.guedes@openbossa.org> <1305936645-15007-6-git-send-email-andre.guedes@openbossa.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz, On Tue, Jun 07, 2011, Luiz Augusto von Dentz wrote: > Maybe we should not trigger the timer if the we are connected to the > device, this would be very convenient if a disconnect happen for > unknown reason e.g. bug or crash so we can quickly reconnect without > having to scan again, once disconnected then we start the entry timer, > what do you think? Initially this sounds like a good idea, however almost all of the devices we've tested with automatically disable advertising when connected so an immediate reconnect attempt like that would fail in most cases. Johan