Commit f9c3123b authored by Gustavo F. Padovan's avatar Gustavo F. Padovan

Bluetooth: Use chan instead of l2cap_pi macro

Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent dc8ed672
......@@ -176,7 +176,7 @@ static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int al
chan->psm = la.l2_psm;
chan->dcid = la.l2_cid;
err = l2cap_chan_connect(l2cap_pi(sk)->chan);
err = l2cap_chan_connect(chan);
if (err)
goto done;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment