aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-04-12 17:17:14 -0400
committerGustavo F. Padovan <padovan@profusion.mobi>2011-04-27 17:51:34 -0400
commit77a74c7e0861e6ebac7effe233fd7e83f1ad9ecc (patch)
treeb88a105b9caef1ccb5672bff52b479f601f74e76 /net/bluetooth/l2cap_sock.c
parentb44500351845e4f6df0d752a8870da246be8216f (diff)
Bluetooth: Rename l2cap_do_connect() to l2cap_chan_connect()
l2cap_chan_connect() is a much better name and reflects what this functions is doing (or will do once socket dependence is removed from the core). 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 a29782a0083a..50437c665d1e 100644
--- a/net/bluetooth/l2cap_sock.c
+++ b/net/bluetooth/l2cap_sock.c
@@ -229,7 +229,7 @@ static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int al
229 l2cap_pi(sk)->psm = la.l2_psm; 229 l2cap_pi(sk)->psm = la.l2_psm;
230 l2cap_pi(sk)->dcid = la.l2_cid; 230 l2cap_pi(sk)->dcid = la.l2_cid;
231 231
232 err = l2cap_do_connect(l2cap_pi(sk)->chan); 232 err = l2cap_chan_connect(l2cap_pi(sk)->chan);
233 if (err) 233 if (err)
234 goto done; 234 goto done;
235 235