Bluetooth: Ensure that background scanning gets enabled on power on
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 1 Jul 2014 17:28:24 +0000 (19:28 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:54 +0000 (17:42 +0200)
commitc83ed19d23909db10a4402d4c6c0164bab9a9cf0
tree136f0c83780a62c53e8360c3ddf233ce6884b01a
parentb8221770c984bcd185c93cb3a31acab27b67c94a
Bluetooth: Ensure that background scanning gets enabled on power on

The background scanning normally gets enabled during power on by
adding devices to the pending connection list. However devices
might be already on that list and the list of devices is empty,
then it is better to trigger the background manually.

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