Bluetooth: Add l2cap_chan_ops abstraction
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 16 May 2011 20:24:37 +0000 (17:24 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 13 Jun 2011 17:55:32 +0000 (14:55 -0300)
commit80808e431e1ef25856457de82ce141bed6a6313a
tree021d6affd8b8f6bf81ba51fadb9951b0b9e47d27
parentdc50a06dac61d7ca7ddb3d9bb8921ca5d68f51b6
Bluetooth: Add l2cap_chan_ops abstraction

Add an abstraction layer between L2CAP core and its users (only
l2cap_sock.c now). The first function implemented is new_connection() that
replaces calls to l2cap_sock_alloc() in l2cap_core.c

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c