Bluetooth: Use continuous scanning when creating LE connections
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Dec 2015 10:45:19 +0000 (12:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:16 +0000 (15:07 -0800)
commitc76633bf38205c9ee640096eb387dce31cb8b8c9
tree9ebf7e55df0af07bedda10d41fc1a5b716c72cf9
parent2a383bcc68ad1437315eb4298a84cdde070a69bc
Bluetooth: Use continuous scanning when creating LE connections

commit 2f99536a5b34d5b0f54723067d68f6cef3f0fdc6 upstream.

All LE connections are now triggered through a preceding passive scan
and waiting for a connectable advertising report. This means we've got
the best possible guarantee that the device is within range and should
be able to request the controller to perform continuous scanning. This
way we minimize the risk that we miss out on any advertising packets.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bluetooth/hci_conn.c