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)
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>

No differences found