From e0939ff8ab0d69866dccb9e59a112ee40c2eac51 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sat, 1 Apr 2023 22:59:23 +0300 Subject: [PATCH] bluez5: don't set bluez timeout on transport release Setting bluez timeout on transport release makes codec switches delayed, and is not necessary. --- spa/plugins/bluez5/bluez5-dbus.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/spa/plugins/bluez5/bluez5-dbus.c b/spa/plugins/bluez5/bluez5-dbus.c index f84e9da18..82f1f03fc 100644 --- a/spa/plugins/bluez5/bluez5-dbus.c +++ b/spa/plugins/bluez5/bluez5-dbus.c @@ -3185,8 +3185,6 @@ static int do_transport_release(struct spa_bt_transport *transport) r = dbus_connection_send_with_reply_and_block(monitor->conn, m, -1, &err); dbus_message_unref(m); - spa_bt_device_update_last_bluez_action_time(transport->device); - if (r == NULL) { if (is_idle) { /* XXX: The fd always needs to be closed. However, Release()