Bluetooth: Remove conn_unfinished variable from hci_connect_le()
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 11 Nov 2015 12:44:59 +0000 (14:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Nov 2015 16:50:32 +0000 (17:50 +0100)
commite2caced40734731e2a17b501840809e30a08141a
tree2a0ae1a6ff812b44f38d1f50f1b52712613c0a17
parent658aead94bb65c0141391f20f8c24f51e971b6ea
Bluetooth: Remove conn_unfinished variable from hci_connect_le()

The conn_unfinished variable makes the entire logic of
hci_connect_le() rather confusing. By restructuring and clarifying the
logic we can actually remove the conn_unfinished variable and still
keep the same behavior.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c