]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Don't handle consequent RSET frames after UA
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Fri, 21 Sep 2012 12:02:46 +0000 (14:02 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Sep 2012 22:17:27 +0000 (00:17 +0200)
commit85c989d47a4c406913e0935d48aad6557fc36559
treebd72d458f4083227ed0fd237fcfed30d06ab866a
parent3a456b6d5e7a887f71e356734c36f6897e11e286
NFC: Don't handle consequent RSET frames after UA

During processing incoming RSET frame chip, possibly due to
its internal timout, can retrnasmit an another RSET which
is next queued for processing in shdlc layer.

In case when we accept processed RSET skip those remaining on
the rcv queue until chip will send it's first S or I frame.
This will mean the chip completed connection as well.

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/hci/llc_shdlc.c