diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-05-16 16:57:22 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-06-13 13:55:33 -0400 |
commit | 230704942283cb3990584ddd6955ac8decfa6a2c (patch) | |
tree | 2834efce3cf32e1f6de9cedb7ee510e70eb662da /include | |
parent | 80808e431e1ef25856457de82ce141bed6a6313a (diff) |
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')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index d3a150955c44..05bb254c9ebd 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -363,6 +363,7 @@ struct l2cap_ops { | |||
363 | char *name; | 363 | char *name; |
364 | 364 | ||
365 | struct l2cap_chan *(*new_connection) (void *data); | 365 | struct l2cap_chan *(*new_connection) (void *data); |
366 | int (*recv) (void *data, struct sk_buff *skb); | ||
366 | }; | 367 | }; |
367 | 368 | ||
368 | struct l2cap_conn { | 369 | struct l2cap_conn { |