linux/net/nfc/nci
Julien Lefrique e479ce4797 NFC: NCI: Fix max length of General Bytes in ATR_RES
The maximum size of ATR_REQ and ATR_RES is 64 bytes.
The maximum number of General Bytes is calculated by
the maximum number of data bytes in the ATR_REQ/ATR_RES,
substracted by the number of mandatory data bytes.

ATR_REQ: 16 mandatory data bytes, giving a maximum of
48 General Bytes.
ATR_RES: 17 mandatory data bytes, giving a maximum of
47 General Bytes.

Regression introduced in commit a99903ec.

Signed-off-by: Julien Lefrique <lefrique@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2014-12-02 22:59:28 +01:00
..
core.c NFC: nci: Add support for different NCI_DEACTIVATE_TYPE 2014-12-02 22:47:17 +01:00
data.c NFC: nci: Add status byte management in case of error. 2014-12-02 22:46:47 +01:00
Kconfig NFC: Fix NCI over SPI build 2013-07-19 16:55:26 +02:00
lib.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
Makefile NFC: Add basic NCI over SPI 2013-06-14 13:44:03 +02:00
ntf.c NFC: NCI: Fix max length of General Bytes in ATR_RES 2014-12-02 22:59:28 +01:00
rsp.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
spi.c NFC: NCI: Use reinit_completion() at appropriate places 2014-02-23 23:32:18 +01:00