提交 f9c3123b 编写于 作者: G Gustavo F. Padovan

Bluetooth: Use chan instead of l2cap_pi macro

Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
上级 dc8ed672
...@@ -176,7 +176,7 @@ static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int al ...@@ -176,7 +176,7 @@ static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int al
chan->psm = la.l2_psm; chan->psm = la.l2_psm;
chan->dcid = la.l2_cid; chan->dcid = la.l2_cid;
err = l2cap_chan_connect(l2cap_pi(sk)->chan); err = l2cap_chan_connect(chan);
if (err) if (err)
goto done; goto done;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册