aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@openbossa.org>2012-02-03 15:47:57 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 10:01:34 -0500
commitc599008f8f999dab8cb4a6404be99bdc4716ba15 (patch)
treec67e858a2ef7e8ebebeeaec95e6d3f9ec9afe0a6 /include/net
parent8af59467412b4b61850d3ccb3737c09ecc6dc100 (diff)
Bluetooth: LE scan should send Discovering events
Send MGMT Discovering events once LE scan starts/stops so the userspace can track when local adapters are discovering LE devices. This way, we also keep the same behavior of inquiry which sends MGMT Discovering events once inquiry starts/stops even if it is triggered by an external tool (e.g. hcitool). Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 9751da78341d..bf2ef5667887 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -61,6 +61,7 @@ struct discovery_state {
61 DISCOVERY_STOPPED, 61 DISCOVERY_STOPPED,
62 DISCOVERY_STARTING, 62 DISCOVERY_STARTING,
63 DISCOVERY_INQUIRY, 63 DISCOVERY_INQUIRY,
64 DISCOVERY_LE_SCAN,
64 DISCOVERY_RESOLVING, 65 DISCOVERY_RESOLVING,
65 DISCOVERY_STOPPING, 66 DISCOVERY_STOPPING,
66 } state; 67 } state;