]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Handle RSET in SHDLC_CONNECTING state
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Thu, 20 Sep 2012 06:59:11 +0000 (08:59 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Sep 2012 22:17:27 +0000 (00:17 +0200)
commit56ca170458b6847d98ccf60ba2e3313f5d30c5fc
tree05945183ec2c8dc0c323f2c502fa7e7516bace38
parent3ce337554b58c53dce5c0d861239ad3e9ab63708
NFC: Handle RSET in SHDLC_CONNECTING state

As queue_work() does not guarantee immediate execution of sm_work it
can happen in crossover RSET usecase that connect timer will constantly
change the shdlc state from NEGOTIATING to CONNECTING before shdlc has
chance to handle incoming frame.

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