NFC: Handle SHDLC RSET frames from an SHDLC connected chip
authorEric Lapuyade <eric.lapuyade@intel.com>
Wed, 2 May 2012 09:23:11 +0000 (11:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:05 +0000 (16:42 -0400)
commit5018e490c372d5ed0e0ced2f2471140bf5ba9b32
treec773de1723b9b9020f0b5a08bb8665c7c8a49ae5
parentd3b404453192aa195ccfb2f0d946f880b16f8b1f
NFC: Handle SHDLC RSET frames from an SHDLC connected chip

shdlc reset may leave HCI in an inconsistent state by loosing parts of
HCI frames. Handle this case by reporting an unrecoverable error to HCI.

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/hci/shdlc.c