projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99b0c52
)
device: Pass the NDEF push cb status back to the caller
author
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 20 Jun 2013 23:37:09 +0000
(
01:37
+0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 20 Jun 2013 23:37:09 +0000
(
01:37
+0200)
Instead of hard coding it to EINVAL.
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
2c5b047
..
4f4306b
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-184,7
+184,7
@@
static void push_cb(uint32_t adapter_idx, uint32_t target_idx, int status)
return;
if (status != 0) {
- reply = __near_error_failed(device->push_msg,
EINVAL
);
+ reply = __near_error_failed(device->push_msg,
-status
);
if (reply != NULL)
g_dbus_send_message(conn, reply);
} else {