[linux-yocto] [PATCH] Bluetooth:Fix the connection fail of 6lowpan over BT LE

Zheng, Wu wu.zheng at intel.com
Mon Nov 23 18:19:43 PST 2015


Hi Bruce Ashfield,

Thanks for review.

I send the patch is for the standard/base branch of linux-yocto-4.1.
Thanks.

Best Regards
Zheng Wu

-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfield at windriver.com] 
Sent: Saturday, November 21, 2015 4:25 AM
To: Zheng, Wu; linux-yocto at yoctoproject.org
Subject: Re: [linux-yocto] [PATCH] Bluetooth:Fix the connection fail of 6lowpan over BT LE

On 15-11-20 12:25 AM, Wu Zheng wrote:
> When two devices with 6lowpan over BT LE connect each other, 6lowpan 
> over BT LE channel is set up between the two devices.
> However, the status of channel is not right.
> It always is set to CONNECTED and the channel can't be created.

Which kernel is this for ? We have multiple versions :)

Bruce

>
> The status of channel need to be removed when connection is created.
>
> (The patch's reference from b0c09f94ff1660a1873549b788c998284ea5fb8a)
>
> Signed-off-by: Wu Zheng <wu.zheng at intel.com>
> ---
>   net/bluetooth/6lowpan.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index 
> 1742b84..8786070 100644
> --- a/net/bluetooth/6lowpan.c
> +++ b/net/bluetooth/6lowpan.c
> @@ -792,8 +792,6 @@ static struct l2cap_chan *chan_open(struct l2cap_chan *pchan)
>   	chan->remote_mps = chan->omtu;
>   	chan->mps = chan->omtu;
>
> -	chan->state = BT_CONNECTED;
> -
>   	return chan;
>   }
>
>



More information about the linux-yocto mailing list