diff options
author | Andre Guedes | 2012-02-03 21:47:57 +0100 |
---|---|---|
committer | Johan Hedberg | 2012-02-13 16:01:34 +0100 |
commit | c599008f8f999dab8cb4a6404be99bdc4716ba15 (patch) | |
tree | c67e858a2ef7e8ebebeeaec95e6d3f9ec9afe0a6 /include/net/bluetooth/hci_core.h | |
parent | Bluetooth: Add missing QUIRK_NO_RESET test to hci_dev_do_close (diff) | |
download | kernel-qcow2-linux-c599008f8f999dab8cb4a6404be99bdc4716ba15.tar.gz kernel-qcow2-linux-c599008f8f999dab8cb4a6404be99bdc4716ba15.tar.xz kernel-qcow2-linux-c599008f8f999dab8cb4a6404be99bdc4716ba15.zip |
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/bluetooth/hci_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
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 { DISCOVERY_STOPPED, DISCOVERY_STARTING, DISCOVERY_INQUIRY, + DISCOVERY_LE_SCAN, DISCOVERY_RESOLVING, DISCOVERY_STOPPING, } state; |