NFC: digital: Return proper error code when sending ATR_REQ
authorThierry Escande <thierry.escande@linux.intel.com>
Fri, 11 Apr 2014 22:03:08 +0000 (00:03 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 25 May 2014 22:42:02 +0000 (00:42 +0200)
commit00e625df3ef6c3ce94ed6fc46565b41f55e379f8
tree3999edf1b424f4c8ee1aa0df4a3914adc64246d0
parent09592ccfc2fc38eedd63f0f50fda095e1083b657
NFC: digital: Return proper error code when sending ATR_REQ

The error code returned by digital_in_send_cmd() was not returned by
digital_in_send_atr_req().

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital_dep.c