summaryrefslogtreecommitdiff
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-05-16 20:57:22 (GMT)
committerGustavo F. Padovan <padovan@profusion.mobi>2011-06-13 17:55:33 (GMT)
commit230704942283cb3990584ddd6955ac8decfa6a2c (patch)
tree2834efce3cf32e1f6de9cedb7ee510e70eb662da /include/net/bluetooth
parent80808e431e1ef25856457de82ce141bed6a6313a (diff)
downloadlinux-fsl-qoriq-230704942283cb3990584ddd6955ac8decfa6a2c.tar.xz
Bluetooth: add recv() callback to l2cap_chan_ops
This abstracts the call to sock_queue_recv_skb() into l2cap_chan_ops->recv(). Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth')
-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 d3a1509..05bb254 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -363,6 +363,7 @@ struct l2cap_ops {
char *name;
struct l2cap_chan *(*new_connection) (void *data);
+ int (*recv) (void *data, struct sk_buff *skb);
};
struct l2cap_conn {