diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-10-25 22:54:19 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-10-26 06:53:06 +0100 |
commit | a1269dd116319335db6d73013a31c038486c813e (patch) | |
tree | 656eefa06de222440aa69f705d4314bc432a0eba /net/nfc/nci/hci.c | |
parent | 1c54795da05a792e495387317240625696d37abd (diff) |
NFC: st-nci: Fix incorrect spi buffer size
When sending data over SPI, the maximum expected length is the maximum
nci packet payload + data header size + the frame head room (1 for the
ndlc header) + the frame trail room (0).
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/nci/hci.c')
0 files changed, 0 insertions, 0 deletions