NFC: digital: Ensure no NAD byte in DEP_REQ and DEP_RES frames
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 23 Sep 2014 23:38:06 +0000 (16:38 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 28 Nov 2014 11:38:36 +0000 (12:38 +0100)
commit3e6b0de8053ae724931799f1b5d4f009b9fc4b44
treeae0d1779f8765efecee4fdb552f5634992f2c0a1
parent05afedcb89189df5cea30a13b2a5b4aa70572749
NFC: digital: Ensure no NAD byte in DEP_REQ and DEP_RES frames

According to chapter 14 of the NFC-DEP Digital
Protocol Spec., the NAD byte should never be
present in DEP_REQ or DEP_RES frames.  However,
this is not enforced so add that enforcement code.

Reviewed-by: Thierry Escande <thierry.escande@linux.intel.com>
Tested-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital_dep.c
This page took 0.039967 seconds and 5 git commands to generate.