Bluetooth: Start background scanning only when controller is ready
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Jun 2014 14:04:12 +0000 (16:04 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:51 +0000 (17:42 +0200)
commitc20c02d5c8d76f39be461c25bf5de3a1dc96885e
treeade78df94d934535bd1cf95977b928b1de07a49c
parent7c264b10006f3c10f7a9ef314a213f9784d9ca1f
Bluetooth: Start background scanning only when controller is ready

When the controller is not active or in init/setup phase, do not
try to start or stop background scanning.

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