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

Bruce Ashfield bruce.ashfield at windriver.com
Fri Nov 20 12:25:11 PST 2015


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