Bluetooth: Move bt_accept_enqueue() to l2cap_sock.c
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 12 Oct 2012 11:35:23 +0000 (19:35 +0800)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 15 Oct 2012 12:42:52 +0000 (09:42 -0300)
commit644912e18ac1d27f57f6673b0236b568ff750fd1
treed7d5609fb109e6a84eed05b581efb7830a9a32c5
parentb699ec0d99825713d30a057c432d0e29f07c5490
Bluetooth: Move bt_accept_enqueue() to l2cap_sock.c

This is part of the move the parent socket usage to l2cap_sock.c

The change is safe when it comes to locking, bt_accept_enqueue() is still
protected by the parent socket lock inside the
l2cap_sock_new_connection_cb() code.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c