NFC: st21nfcb: Fix improper ndlc T2 management
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 13 Sep 2014 08:28:48 +0000 (10:28 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 24 Sep 2014 00:02:23 +0000 (02:02 +0200)
commitfa0daa02fb063ecef39b7d421c3d9c4109381dc2
treeac2ab17b963525db7a603f2f7d4cd1397211a7a1
parent4294e32040b5142824f420d4a3ae604b92f1d1b5
NFC: st21nfcb: Fix improper ndlc T2 management

T2 was never started when sending a command.
Start it when sending a command for the first attempt
and stop it once we receive the answer.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/ndlc.c