From: Christophe Ricard Date: Thu, 24 Apr 2014 21:19:31 +0000 (+0200) Subject: NFC: st21nfca: Fix st21nfca_hci_remove_len_crc tail room handling X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~18^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1fb97b9256f383ed9553a1fc0b1576dfc88d582;p=pandora-kernel.git NFC: st21nfca: Fix st21nfca_hci_remove_len_crc tail room handling There is no byte stuffing when data are stored in skb. TAILROOM is 2 byte crc + 1 byte eof. st21nfca_hci_remove_len_crc was doing an incorrect operation on the TAILROOM data. If shdlc timer T2 is triggered, it will request to send the same data. Before every hci data was lost after st21nfca_hci_remove_len_crc. Signed-off-by: Christophe Ricard Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed