Bluetooth: Refactor SCO connection into its own function
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Fri, 27 Jul 2012 22:32:58 +0000 (19:32 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 15 Aug 2012 03:53:17 +0000 (00:53 -0300)
commitb7d839bfff78a01705f3d7b0acd5257dc7b067c9
tree5a24e1614114f7950fe0642de944b600e2d2d167
parentdb4742756ae2a836618cd5acf599522573589149
Bluetooth: Refactor SCO connection into its own function

We can do the same that we did for the other link types, for SCO
connections. The only thing that's worth noting is that as SCO
links need an ACL link, this functions uses the function that adds
an ACL link.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_conn.c