]> asedeno.scripts.mit.edu Git - linux.git/commit
NFC: digital: NFC-A SEL_RES must be one byte
authorMark Greer <mgreer@animalcreek.com>
Thu, 15 Jun 2017 17:46:15 +0000 (10:46 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 22 Jun 2017 22:19:59 +0000 (00:19 +0200)
commit7f9f171336baec8ec71d57b6d329bf8cea5c1562
tree563e5510daff423dfba53b060ea6a31b2ba07172
parentdcfca27faf6d19d2af530cfccee2fcdbcd836a2c
NFC: digital: NFC-A SEL_RES must be one byte

Section 4.8.2 (SEL_RES Response) of NFC Forum's NFC Digital Protocol
Technical Specification dated 2010-11-17 clearly states that the size
of a SEL_RES Response is one byte.  Enforce this restriction in the
code.

Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital_technology.c