diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-05-27 15:29:11 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-14 13:44:18 +0200 |
commit | 322bce957e9b0e30ef7147dae0414ad8f3f558c8 (patch) | |
tree | 83791eb96720eb16127f7820202935268a09db36 /include/net/nfc/nfc.h | |
parent | 31c44464acb8152db5745da700be58ac95ba0a83 (diff) | |
download | op-kernel-dev-322bce957e9b0e30ef7147dae0414ad8f3f558c8.zip op-kernel-dev-322bce957e9b0e30ef7147dae0414ad8f3f558c8.tar.gz |
NFC: pn533: Copy NFCID2 through ATR_REQ
When using NFC-F we should copy the NFCID2 buffer that we got from
SENSF_RES through the ATR_REQ NFCID3 buffer. Not doing so violates
NFC Forum digital requirement #189.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc/nfc.h')
-rw-r--r-- | include/net/nfc/nfc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h index 3563dbdc..8fc1784 100644 --- a/include/net/nfc/nfc.h +++ b/include/net/nfc/nfc.h @@ -84,6 +84,8 @@ struct nfc_target { u8 sel_res; u8 nfcid1_len; u8 nfcid1[NFC_NFCID1_MAXSIZE]; + u8 nfcid2_len; + u8 nfcid2[NFC_NFCID2_MAXSIZE]; u8 sensb_res_len; u8 sensb_res[NFC_SENSB_RES_MAXSIZE]; u8 sensf_res_len; |