diff options
author | Eric Lapuyade <eric.lapuyade@intel.com> | 2012-04-10 13:43:11 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-12 15:10:38 -0400 |
commit | 144612cacc0b5c230f0b3aebc3a3a53854c332ee (patch) | |
tree | ec2b6fa0faf19ca9977c50a84ba9ba21aabe725a /include/net/nfc | |
parent | 01ae0eea9bed132a9c4a2c207dbf8e05b0051071 (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.h | 3 |
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 | ||
70 | struct nfc_target { | 71 | struct 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; |