Re: [PATCH] Bluetooth: 6lowpan: Fix disconnect bug in 6lowpan

From: Marcel Holtmann
Date: Mon Jan 22 2018 - 07:05:18 EST


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 <yi2010.guo@xxxxxxxxxxx>
> ---
> net/bluetooth/6lowpan.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)

this patch does not apply to bluetooth-next tree.

Regards

Marcel