projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09592cc
)
NFC: digital: Return proper error code when sending ATR_REQ
author
Thierry Escande
<thierry.escande@linux.intel.com>
Fri, 11 Apr 2014 22:03:08 +0000
(
00:03
+0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 25 May 2014 22:42:02 +0000
(
00:42
+0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/net/nfc/digital_dep.c
b/net/nfc/digital_dep.c
index d4ed25ff723fd9ace06d03444d7fcc3f9b3b6b27..171cb9949ab58560bc3d1c997d963e2928cf5aa5 100644
(file)
--- a/
net/nfc/digital_dep.c
+++ b/
net/nfc/digital_dep.c
@@
-224,9
+224,8
@@
int digital_in_send_atr_req(struct nfc_digital_dev *ddev,
ddev->skb_add_crc(skb);
- digital_in_send_cmd(ddev, skb, 500, digital_in_recv_atr_res, target);
-
- return 0;
+ return digital_in_send_cmd(ddev, skb, 500, digital_in_recv_atr_res,
+ target);
}
static int digital_in_send_rtox(struct nfc_digital_dev *ddev,