aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-12-09 01:40:10 -0500
committerGustavo F. Padovan <padovan@profusion.mobi>2011-12-16 15:16:14 -0500
commitf9c3123b5a7c9585902927b14983e6635aca00c6 (patch)
tree8f9cdded7cf4ac55d4dd858e2386ff26332c002b /net/bluetooth/l2cap_sock.c
parentdc8ed672caaab054caf62557e46dfed08848a85f (diff)
Bluetooth: Use chan instead of l2cap_pi macro
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
-rw-r--r--net/bluetooth/l2cap_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c
index b85e3906b3a8..fbdc8b38d9ee 100644
--- a/net/bluetooth/l2cap_sock.c
+++ b/net/bluetooth/l2cap_sock.c
@@ -176,7 +176,7 @@ static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int al
176 chan->psm = la.l2_psm; 176 chan->psm = la.l2_psm;
177 chan->dcid = la.l2_cid; 177 chan->dcid = la.l2_cid;
178 178
179 err = l2cap_chan_connect(l2cap_pi(sk)->chan); 179 err = l2cap_chan_connect(chan);
180 if (err) 180 if (err)
181 goto done; 181 goto done;
182 182