commit | f99353cf9c061bc1700b6a49ee98cae93e28207b | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Jul 16 11:56:09 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jul 16 11:58:04 2014 +0200 |
tree | 1fb994259b433cdba4c2ea8d4f34d61bb200b551 | |
parent | f8218dc6605a7b2af843f9ff5d66229a4a0b1c45 [diff] |
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>