NFC: Fix SE discovery failure warning condition
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 24 Jul 2013 12:49:22 +0000 (14:49 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 13 Aug 2013 22:35:19 +0000 (00:35 +0200)
commit369f4d503ac12363f5d11b91f849377875d57598
tree72affc243883d1312728db0b849acdfc889cd345
parent56a63c82cf82eb491af05759d9e9f9b97ca36bc2
NFC: Fix SE discovery failure warning condition

This is a typo coming from the initial implementation. se_discover fails
when it returns something different than zero and we should only display
a warning in that case.

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