]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3c46614d8e300812a086efc76a1deda23edfe01
tree2a0ae1a6ff812b44f38d1f50f1b52712613c0a17
parent324baeae806951f13161fda869079ef7ea34df95
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