Bluetooth: Factor out common L2CAP connection code
authorMat Martineau <mathewm@codeaurora.org>
Thu, 11 Oct 2012 14:48:22 +0000 (17:48 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 12 Oct 2012 09:12:19 +0000 (17:12 +0800)
commit4c89b6aad5b7c5c56dadca66af6ceae0addbf2bf
tree16644b9c0512a8358e825741434d7225c3f5c3a7
parentf5a2598d80fda49756f234a43bc332a13ce95128
Bluetooth: Factor out common L2CAP connection code

L2CAP connect requests and create channel requests share a significant
amount of code.  This change moves common code to a new function.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c