From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> If a request times out it should still be cancelled properly so the agent process receives a Cancel and the request is properly removed. --- src/agent.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agent.c b/src/agent.c index 9ab1c8b..97daf71 100644 --- a/src/agent.c +++ b/src/agent.c @@ -350,6 +350,7 @@ static void simple_agent_reply(DBusPendingCall *call, void *user_data) if (dbus_error_has_name(&err, DBUS_ERROR_NO_REPLY)) { error("Timed out waiting for reply from agent"); + agent_cancel(agent); dbus_message_unref(message); dbus_error_free(&err); agent_unref(agent); -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html