Bluetooth: Simplify a the connection type handling
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Fri, 27 Jul 2012 22:32:59 +0000 (19:32 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 15 Aug 2012 03:53:19 +0000 (00:53 -0300)
commit4cd2d98340b4f03d5532c30fdaeb451b035429cb
treeec9c837bd2accce9368a865dcc1a04f7e03eb850
parentb7d839bfff78a01705f3d7b0acd5257dc7b067c9
Bluetooth: Simplify a the connection type handling

Now that we have separate ways of doing connections for each link type,
we can do better than an "if" statement to handle each link type.

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