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:
4c6d344
)
device: Pass correct DBusMessage parameter to btd_error_failed
author
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 26 Nov 2012 14:16:27 +0000
(16:16 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 26 Nov 2012 14:16:27 +0000
(16:16 +0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
d94e588
..
a99ca34
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-1415,7
+1415,8
@@
static void profile_disconnected(struct btd_profile *profile,
if (err)
g_dbus_send_message(btd_get_dbus_connection(),
- btd_error_failed(dev->connect, strerror(-err)));
+ btd_error_failed(dev->disconnect,
+ strerror(-err)));
else
g_dbus_send_reply(btd_get_dbus_connection(), dev->disconnect,
DBUS_TYPE_INVALID);