Bluetooth: Move bt_accept_enqueue() to outside __l2cap_chan_add
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 25 Mar 2011 03:39:48 +0000 (00:39 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 31 Mar 2011 17:22:57 +0000 (14:22 -0300)
commitd1010240fa9aac93da56a683c1295e759ee69d10
treeefa5ea02bb721a2388dc77a2bf8a9c8c6c641ae0
parentf3dd4f0f586b3a70734820b68c69985363e2d798
Bluetooth: Move bt_accept_enqueue() to outside __l2cap_chan_add

bt_accept_enqueue() is not really a channel action, so do it outside.
This patch is part of a set of patches to create an struct l2cap_chan to
have a clear separation between the struct sock and the L2CAP channel
stuff.

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