OSDN Git Service

Bluetooth: Add l2cap_chan_ops abstraction
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 16 May 2011 20:24:37 +0000 (17:24 -0300)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:19 +0000 (11:59 -0700)
commitb090c4b586097e4bfdb2dcd7b203db960e783a95
tree5bf7f328546e4aa1b42e47659eea7cb79ab2fe72
parentb87bf5b81d38fb89758fc52d80ebb987745af2cb
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