Bluetooth: Use chan instead of l2cap_pi macro
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
parent
dc8ed672ca
commit
f9c3123b5a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue