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

Bruce Ashfield bruce.ashfield at windriver.com
Tue Nov 24 09:03:24 PST 2015


On 15-11-23 09:19 PM, Zheng, Wu wrote:
> Hi Bruce Ashfield,
>
> Thanks for review.
>
> I send the patch is for the standard/base branch of linux-yocto-4.1.

Great. I've merged this, and pushed it to the server.

Bruce

> 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