summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorAndrei Emeltchenko2012-05-28 03:27:53 +0200
committerJohan Hedberg2012-06-05 05:34:11 +0200
commit54a59aa2b562872781d6a8fc89f300d360941691 (patch)
treeb2414b9803565ee9e252ccfefb54c98af762ab43 /include/net/bluetooth/l2cap.h
parentBluetooth: Move clean up code and set of SOCK_ZAPPED to l2cap_sock.c (diff)
downloadkernel-qcow2-linux-54a59aa2b562872781d6a8fc89f300d360941691.tar.gz
kernel-qcow2-linux-54a59aa2b562872781d6a8fc89f300d360941691.tar.xz
kernel-qcow2-linux-54a59aa2b562872781d6a8fc89f300d360941691.zip
Bluetooth: Add l2cap_chan->ops->ready()
This move socket specific code to l2cap_sock.c. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 76b0e7e5dec2..c5726c24ee03 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -534,6 +534,7 @@ struct l2cap_ops {
void (*close) (struct l2cap_chan *chan);
void (*state_change) (struct l2cap_chan *chan,
int state);
+ void (*ready) (struct l2cap_chan *chan);
struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan,
unsigned long len, int nb);
};