Diff between 4c6d344b0d8ddd1647341a7bab7ff406f3cde85e and 65c84e4334ab74b07494df0f71c87b0d4c3097d6
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +2 | -1 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index d94e588..a99ca34 100644
--- 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);