From c0296a9dde463495975140e7fb7f689a347807d6 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Tue, 9 Sep 2008 15:18:27 -0300 Subject: Cancels the pending request from agent side when receiving a NoReply --- audio/control.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'audio/control.c') diff --git a/audio/control.c b/audio/control.c index 15e38c99..4792b4ba 100644 --- a/audio/control.c +++ b/audio/control.c @@ -630,10 +630,6 @@ static void auth_cb(DBusError *derr, void *user_data) if (derr && dbus_error_is_set(derr)) { error("Access denied: %s", derr->message); - if (dbus_error_has_name(derr, DBUS_ERROR_NO_REPLY)) { - debug("Canceling authorization request"); - btd_cancel_authorization(&session->src, &session->dst); - } avctp_unref(session); return; -- cgit