NFC: nci: Do not call post_setup when setup fails
authorRobert Dolca <robert.dolca@intel.com>
Thu, 22 Oct 2015 09:11:36 +0000 (12:11 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 25 Oct 2015 18:11:58 +0000 (19:11 +0100)
commite4dbd62528931951aa9d3b313ee7d536df5069fc
tree638fe2a2cdf4b5fd9c6be0a2a85940a323e08ea0
parenta9433c11b1aa0639cc6e4842fff52af2422af06d
NFC: nci: Do not call post_setup when setup fails

The driver should know that it can continue with post setup where
setup left off. Being able to execute post_setup when setup fails
may force the developer to keep this state in the driver.

Signed-off-by: Robert Dolca <robert.dolca@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/nci/core.c