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.

The status of channel need to be removed when connection is created.

(The patch's reference from b0c09f94ff1660a1873549b788c998284ea5fb8a)

Signed-off-by: Wu Zheng <wu.zh...@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;
 }
 
-- 
2.1.4

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to