Bluetooth: Allow only one LE connection attempt
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Wed, 30 May 2012 13:39:21 +0000 (15:39 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:15 +0000 (06:34 +0300)
commitdfc94dbdb999154dc2ff44e6011a4912c0b29e88
tree26271a8b560a1f239fedc61a6dde79dd187f9a86
parentf0f6279976c8f0768468293546785c18894a704c
Bluetooth: Allow only one LE connection attempt

Only one outgoing LE connection attempt should be possible.
hci_connect() will now return -EBUSY in case there's another pending
outgoing connection.

Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_conn.c