diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2012-02-17 18:39:36 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-19 05:33:49 -0500 |
commit | 4aab14e5504e84c42534378f91e836e6f55d0886 (patch) | |
tree | 9378f2f0d3e345788e8853b3bb7ea2fa4d70558e /include/net/bluetooth | |
parent | f39799f5047c4827b200acbf33cd0ba076afd7ed (diff) |
Bluetooth: Track discovery type
This patch adds to struct discovery_state the field 'type' so that
we can track the discovery type the device is performing.
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')
-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 be8da5d54abb..d7c79b5335c2 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -57,6 +57,7 @@ struct inquiry_entry { | |||
57 | }; | 57 | }; |
58 | 58 | ||
59 | struct discovery_state { | 59 | struct discovery_state { |
60 | int type; | ||
60 | enum { | 61 | enum { |
61 | DISCOVERY_STOPPED, | 62 | DISCOVERY_STOPPED, |
62 | DISCOVERY_STARTING, | 63 | DISCOVERY_STARTING, |