OSDN Git Service

nfc: st-nci: Remove data from ack_pending_q when receiving a SYNC_ACK
authorChristophe Ricard <christophe.ricard@gmail.com>
Fri, 14 Aug 2015 20:33:35 +0000 (22:33 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 16 Aug 2015 22:35:07 +0000 (00:35 +0200)
commit1d816b6eb513498aa28a0ff1e4db7632bded1707
treec6a32fd9631c87ee9a3b6753751e610b58f3bfeb
parentdaaf1e1f1640eb11259954d1d847d8a72ab5b938
nfc: st-nci: Remove data from ack_pending_q when receiving a SYNC_ACK

When receiving a NDLC PCB_SYNC_ACK the pending data was never
removed from ack_pending_q and cleared.

Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st-nci/ndlc.c