summaryrefslogtreecommitdiff
path: root/net/rds/af_rds.c
diff options
context:
space:
mode:
authorJulien Lefrique <lefrique@marvell.com>2014-12-02 18:25:01 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2014-12-03 00:59:28 +0300
commite479ce479743984a5d4581749f9aaa9c3bfd65e4 (patch)
tree54374cdfad53b82596bc835685639ff049b0db77 /net/rds/af_rds.c
parent3ff24012dd28d2b86cea691599a85723d6c19e87 (diff)
downloadlinux-e479ce479743984a5d4581749f9aaa9c3bfd65e4.tar.xz
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>
Diffstat (limited to 'net/rds/af_rds.c')
0 files changed, 0 insertions, 0 deletions