Bluetooth: Refactor L2CAP channel allocation
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 8 Apr 2011 18:40:02 +0000 (15:40 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 27 Apr 2011 21:51:34 +0000 (18:51 -0300)
commit5d41ce1dd91bce01d50aff79786dc5d5eedcfab7
tree36905721ffdbbc24e13e6d302c9d956b9143da75
parent828d7d7b19446bf5a40928da47955c575a454c75
Bluetooth: Refactor L2CAP channel allocation

If the allocation happens at l2cap_sock_create() will be able to use the
struct l2cap_chan to store channel info that comes from the user via
setsockopt.

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