NFC: llcp: Fix zero octets length SDU handling
authorOlivier Guiter <olivier.guiter@linux.intel.com>
Mon, 25 Mar 2013 10:24:21 +0000 (11:24 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Apr 2013 14:28:57 +0000 (16:28 +0200)
commit0b23d666a8857e521384d0eec75a7362b80a39b8
treec60416548e56d5ba9ba6e63789cfdaf122da9ff1
parent00e856db49bbaf0ec315bf81a3c4fc02e4d0beea
NFC: llcp: Fix zero octets length SDU handling

LLCP Validation test #2 (Connection-less information transfer) send a
service data unit of zero octets length. This is now handled correctly.

Signed-off-by: Olivier Guiter <olivier.guiter@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/commands.c