]> git.openfabrics.org - ~emulex/infiniband.git/commit
Bluetooth: Refactor hci_connect_le
authorAndre Guedes <andre.guedes@openbossa.org>
Tue, 8 Oct 2013 11:21:18 +0000 (08:21 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 08:30:18 +0000 (01:30 -0700)
commit620ad5219c0f0aa43731b2fd8fd9efac78c10deb
tree94effbfda02b0322f6c9655f698b3dd92571005f
parent1d399ae5c74619c841fa13834c4f79506aaf6957
Bluetooth: Refactor hci_connect_le

This patch does some code refactoring in hci_connect_le() by moving
the exception code into if statements and letting the main flow in
first level of function scope. It also adds extra comments to improve
the code readability.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c