summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGustavo F. Padovan2011-04-12 23:17:14 +0200
committerGustavo F. Padovan2011-04-27 23:51:34 +0200
commit77a74c7e0861e6ebac7effe233fd7e83f1ad9ecc (patch)
treeb88a105b9caef1ccb5672bff52b479f601f74e76 /include
parentBluetooth: Move conf_state to struct l2cap_chan (diff)
downloadkernel-qcow2-linux-77a74c7e0861e6ebac7effe233fd7e83f1ad9ecc.tar.gz
kernel-qcow2-linux-77a74c7e0861e6ebac7effe233fd7e83f1ad9ecc.tar.xz
kernel-qcow2-linux-77a74c7e0861e6ebac7effe233fd7e83f1ad9ecc.zip
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 'include')
-rw-r--r--include/net/bluetooth/l2cap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index b3bb3d492fff..f70935000345 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -466,6 +466,6 @@ struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock,
void l2cap_send_disconn_req(struct l2cap_conn *conn, struct l2cap_chan *chan, int err);
struct l2cap_chan *l2cap_chan_alloc(struct sock *sk);
void l2cap_chan_del(struct l2cap_chan *chan, int err);
-int l2cap_do_connect(struct l2cap_chan *chan);
+int l2cap_chan_connect(struct l2cap_chan *chan);
#endif /* __L2CAP_H */