aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/nfc
diff options
context:
space:
mode:
authorEric Lapuyade <eric.lapuyade@intel.com>2012-04-10 13:43:11 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-12 15:10:38 -0400
commit144612cacc0b5c230f0b3aebc3a3a53854c332ee (patch)
treeec2b6fa0faf19ca9977c50a84ba9ba21aabe725a /include/net/nfc
parent01ae0eea9bed132a9c4a2c207dbf8e05b0051071 (diff)
NFC: Changed target activated state logic
Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/nfc')
-rw-r--r--include/net/nfc/nfc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h
index f4f6950a8b05..7273ff169bb8 100644
--- a/include/net/nfc/nfc.h
+++ b/include/net/nfc/nfc.h
@@ -66,6 +66,7 @@ struct nfc_ops {
66 66
67#define NFC_TARGET_IDX_ANY -1 67#define NFC_TARGET_IDX_ANY -1
68#define NFC_MAX_GT_LEN 48 68#define NFC_MAX_GT_LEN 48
69#define NFC_TARGET_IDX_NONE 0xffffffff
69 70
70struct nfc_target { 71struct nfc_target {
71 u32 idx; 72 u32 idx;
@@ -97,7 +98,7 @@ struct nfc_dev {
97 struct device dev; 98 struct device dev;
98 bool dev_up; 99 bool dev_up;
99 bool polling; 100 bool polling;
100 bool remote_activated; 101 u32 activated_target_idx;
101 bool dep_link_up; 102 bool dep_link_up;
102 u32 dep_rf_mode; 103 u32 dep_rf_mode;
103 struct nfc_genl_data genl_data; 104 struct nfc_genl_data genl_data;