NFC: st21nfca: Change nfcid3 generation
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 10 Aug 2014 22:04:52 +0000 (00:04 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 22:04:21 +0000 (00:04 +0200)
commit72030a2eeb182575f1bf2383f1e9267d4a6ece61
tree5ec80d22b3ab497a06d05ada659e5ec3872875ce
parent06ed3d607b1030365e6f4bdae193e64378e4264b
NFC: st21nfca: Change nfcid3 generation

nfcid3 is based on sensf_res value. target->sensf is never NULL
as it is a table.
Check the sensf_res_len instead to make sure sensf_res is set or not.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfca/st21nfca_dep.c