NFC: nci: Add NCI_RESET return code check before setup
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 6 Jun 2015 11:16:39 +0000 (13:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Jun 2015 22:34:20 +0000 (00:34 +0200)
commit81859ab8779567af491fbf83ea628cdf09188d90
treee105b5bcb149263bee2486cde1da77f144ae7c00
parentb6355e972aaab0173ce11a1650e7dba67f820918
NFC: nci: Add NCI_RESET return code check before setup

setup was executed in any case, even if NCI_RESET failed.

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