Bluetooth: Move check for ongoing connect earlier in hci_connect_le()
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 11 Nov 2015 12:44:58 +0000 (14:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Nov 2015 16:50:32 +0000 (17:50 +0100)
commit658aead94bb65c0141391f20f8c24f51e971b6ea
tree864845eded7366abbe1c2d15e0e069e37e1b2aef
parent0ad06aa6a7682319bb1adcc187a1fa8db6b2da2c
Bluetooth: Move check for ongoing connect earlier in hci_connect_le()

This helps simplify the logic in further patches (less cleanups to do
in this failure branch).

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c
This page took 0.035744 seconds and 5 git commands to generate.