OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
|
history
diff --git
a/net/nfc/digital_dep.c
b/net/nfc/digital_dep.c
index
d4ed25f
..
171cb99
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,