Bluetooth: add recv() callback to l2cap_chan_ops
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 16 May 2011 20:57:22 +0000 (17:57 -0300)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:19 +0000 (11:59 -0700)
commit162025cbf7cbbc3c43d9a3bcc0975f8de4cccc42
treef9b8b6f1da0ae206cf78ef750223313c854887e8
parentb090c4b586097e4bfdb2dcd7b203db960e783a95
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>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c