NFC: st21nfca: Fix incorrect byte stuffing revocation
authorChristophe Ricard <christophe.ricard@gmail.com>
Thu, 24 Apr 2014 21:19:32 +0000 (23:19 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 4 May 2014 22:06:27 +0000 (00:06 +0200)
commit3096e25a3e40b73afd59e46f3bf8d84f919992a1
treeb488b5f7614b5d9b24ad903b7e515b0c4673de5a
parent0bb8a622d6b47e4dde9ec877029f9e64a997c57f
NFC: st21nfca: Fix incorrect byte stuffing revocation

Byte stuffing was not correctly removed after a i2c read operation.
This was causing improper crc calculation when byte stuffing was
applied to more than 1 byte.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfca/i2c.c