From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 20 Sep 2012 14:16:49 +0300 From: Johan Hedberg To: Jefferson Delfes Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH] Bluetooth: Force the process of unpair command if disconnect failed Message-ID: <20120920111649.GC9102@x220> References: <1347989814-4958-1-git-send-email-jefferson.delfes@openbossa.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1347989814-4958-1-git-send-email-jefferson.delfes@openbossa.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Jefferson, On Tue, Sep 18, 2012, Jefferson Delfes wrote: > The unpair process tries to disconnect any connection pending with > remote. If there are some connection in connecting state, disconnect > command will fail and unpair mgmt command will stay pending. > > That pending mgmt command can cause strange behavior like automatic > unpair after a lost connection. > --- > net/bluetooth/mgmt.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Acked-by: Johan Hedberg Johan