NFC: st21nfcb: Do not remove header once the payload is sent
[ Upstream commit 09f39a950523b1bb830c30a8670b77e0067da092 ] Once the data is sent, we need to preserve the full frame for the ndlc state machine. If the NDLC ACK is not received in time, the ndlc layer will resend the same frame. Having the header byte pulled will corrupt the frame. Cc: stable@vger.kernel.org Signed-off-by:Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com> Signed-off-by:
Sasha Levin <sasha.levin@oracle.com>
Loading
Please register or sign in to comment