summaryrefslogtreecommitdiffstats
path: root/audio/control.c
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2008-09-09 15:18:27 -0300
committerVinicius Costa Gomes <vinicius.gomes@openbossa.org>2008-09-09 19:47:14 -0300
commitc0296a9dde463495975140e7fb7f689a347807d6 (patch)
tree8db2fe54052fa2566d0ce365842e96943c104b35 /audio/control.c
parent8b783303433f7c25c2a888034a6da369a7e9a731 (diff)
Cancels the pending request from agent side when receiving a NoReply
Diffstat (limited to 'audio/control.c')
-rw-r--r--audio/control.c4
1 files changed, 0 insertions, 4 deletions
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;