Skip to content

Commit

Permalink
Bluetooth: Use chan instead of l2cap_pi macro
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Gustavo F. Padovan committed Dec 16, 2011
1 parent dc8ed67 commit f9c3123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bluetooth/l2cap_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f9c3123

Please sign in to comment.