diff options
author | Eric Lapuyade <eric.lapuyade@intel.com> | 2012-04-10 19:43:11 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-12 15:10:38 -0400 |
commit | 144612cacc0b5c230f0b3aebc3a3a53854c332ee (patch) | |
tree | ec2b6fa0faf19ca9977c50a84ba9ba21aabe725a /include | |
parent | 01ae0eea9bed132a9c4a2c207dbf8e05b0051071 (diff) | |
download | linux-3.10-144612cacc0b5c230f0b3aebc3a3a53854c332ee.tar.gz linux-3.10-144612cacc0b5c230f0b3aebc3a3a53854c332ee.tar.bz2 linux-3.10-144612cacc0b5c230f0b3aebc3a3a53854c332ee.zip |
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')
-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 f4f6950a8b0..7273ff169bb 100644 --- a/include/net/nfc/nfc.h +++ b/include/net/nfc/nfc.h @@ -66,6 +66,7 @@ struct nfc_ops { #define NFC_TARGET_IDX_ANY -1 #define NFC_MAX_GT_LEN 48 +#define NFC_TARGET_IDX_NONE 0xffffffff struct nfc_target { u32 idx; @@ -97,7 +98,7 @@ struct nfc_dev { struct device dev; bool dev_up; bool polling; - bool remote_activated; + u32 activated_target_idx; bool dep_link_up; u32 dep_rf_mode; struct nfc_genl_data genl_data; |