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/avdtp.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'audio/avdtp.c') diff --git a/audio/avdtp.c b/audio/avdtp.c index b052b927..592322f8 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -2715,11 +2715,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->server->src, - &session->dst); - } connection_lost(session, -EACCES); return; -- cgit