]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix trying to initiate connections when acting as LE slave
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Jul 2014 08:56:09 +0000 (11:56 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Jul 2014 09:58:04 +0000 (11:58 +0200)
commit5489b6b9e63ef7f034bd07d697d6090e531b3312
tree1fb994259b433cdba4c2ea8d4f34d61bb200b551
parentb2b8a4457920b9874d7191ed78caf59adb592604
Bluetooth: Fix trying to initiate connections when acting as LE slave

When we have at least one LE slave connection most (probably all)
controllers will refuse to initiate any new connections. To avoid
unnecessary failures simply check for this situation up-front and skip
the connection attempt.

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