diff options
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
-rw-r--r-- | net/bluetooth/l2cap_sock.c | 2 |
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 | ||