summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/input/device.c b/input/device.c
index 984c35bd..ccaf0374 100644
--- a/input/device.c
+++ b/input/device.c
@@ -603,8 +603,7 @@ static void control_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src,
failed:
iconn->ctrl_sk = -1;
- error_connection_attempt_failed(idev->conn,
- iconn->pending_connect, -err);
+ connection_attempt_failed(iconn->pending_connect, -err);
dbus_message_unref(iconn->pending_connect);
iconn->pending_connect = NULL;
}