]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd98b3f1951084bcd5a17dc937129febb6cdc0d38
tree5ec80d22b3ab497a06d05ada659e5ec3872875ce
parenta4be4db3298ed8675d6a6aa2b5a50625239d0ac2
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