提交 6754e0df 编写于 作者: G Gustavo Padovan 提交者: Johan Hedberg

Bluetooth: Use l2cap_chan_ready() in LE path

This replace code in l2cap_le_conn_ready() by a similar code in
l2cap_chan_ready().
Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 2f84a2e6
......@@ -1228,10 +1228,7 @@ static void l2cap_le_conn_ready(struct l2cap_conn *conn)
l2cap_chan_add(conn, chan);
__set_chan_timer(chan, sk->sk_sndtimeo);
__l2cap_state_change(chan, BT_CONNECTED);
parent->sk_data_ready(parent, 0);
l2cap_chan_ready(chan);
clean:
release_sock(parent);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册