Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: [PATCH] Bluetooth: 6lowpan: Fix disconnect bug in 6lowpan From: Marcel Holtmann In-Reply-To: <1516160848-471-1-git-send-email-yi2010.guo@samsung.com> Date: Mon, 22 Jan 2018 13:05:09 +0100 Cc: Bluez mailing list , Network Development , Linux Kernel Mailing List , "Gustavo F. Padovan" , Johan Hedberg , "David S. Miller" Message-Id: <7811FEDD-2495-43ED-8745-F2E5235BE1E2@holtmann.org> References: <1516160848-471-1-git-send-email-yi2010.guo@samsung.com> To: Guo Yi Sender: linux-kernel-owner@vger.kernel.org List-ID: Hi Guo, > This patch fix the bluetooth 6lowpan disconnect fail bug. > > The type of the same address type have different define value in HCI layer > and L2CAP layer.That makes disconnect fail due to wrong network type.User > will not be able to disconnect from console with the network type that used > in connect. > > This patch add a var lookup_type, and covert the channel address type to > HCI address type. By these means, user can disconnect successfuly. > > Signed-off-by: Guo Yi > --- > net/bluetooth/6lowpan.c | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) this patch does not apply to bluetooth-next tree. Regards Marcel