OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e939d
)
neard: Make use of g_dbus_send_message_with_reply
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 19 Aug 2013 14:17:17 +0000
(17:17 +0300)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 9 Sep 2013 14:35:30 +0000
(17:35 +0300)
This replaces dbus_connection_send_with_reply with
g_dbus_send_message_with_reply which does not alter message order.
plugins/neard.c
patch
|
blob
|
history
diff --git
a/plugins/neard.c
b/plugins/neard.c
index
e4a4d71
..
ea91c4d
100644
(file)
--- a/
plugins/neard.c
+++ b/
plugins/neard.c
@@
-158,7
+158,7
@@
static void register_agent(bool append_carrier)
dbus_message_append_args(message, DBUS_TYPE_STRING, &carrier,
DBUS_TYPE_INVALID);
- if (!
dbus_connection_send
_with_reply(btd_get_dbus_connection(),
+ if (!
g_dbus_send_message
_with_reply(btd_get_dbus_connection(),
message, &call, -1)) {
dbus_message_unref(message);
error("D-Bus send failed");