summaryrefslogtreecommitdiffstats
path: root/audio/manager.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/manager.c
parent8b783303433f7c25c2a888034a6da369a7e9a731 (diff)
Cancels the pending request from agent side when receiving a NoReply
Diffstat (limited to 'audio/manager.c')
-rw-r--r--audio/manager.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/audio/manager.c b/audio/manager.c
index deeb375c..5af175c3 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -455,10 +455,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(&device->src, &device->dst);
- }
headset_set_state(device, HEADSET_STATE_DISCONNECTED);
} else {