summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@openbossa.org>2013-08-13 01:53:39 -0300
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2013-08-15 14:22:42 +0300
commit755f9620b96f5db27121fb68d7c201288748f016 (patch)
tree81dc393a0c062cb3fd80e47c0062c585a40e0fd5
parentbf9b3f07207cf5c2b973647d8e68381ac76ac0db (diff)
downloadpulseaudio-755f9620b96f5db27121fb68d7c201288748f016.tar.gz
Revert "bluetooth: Support transport auto-release"
This reverts commit 0e4c16e120f95b122c7139deb046192927d1b6c7. This is part of the reversion of BlueZ 5 support so it can be added back in a separate set of modules. This makes the code easier to maintain and decrease PulseAudio's binary size.
-rw-r--r--src/modules/bluetooth/bluetooth-util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
index dd280cb9e..bff68b5ed 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -1534,12 +1534,6 @@ void pa_bluetooth_transport_release(pa_bluetooth_transport *t) {
pa_assert_se(dbus_message_append_args(m, DBUS_TYPE_STRING, &accesstype, DBUS_TYPE_INVALID));
} else {
pa_assert(t->device->discovery->version == BLUEZ_VERSION_5);
-
- if (t->state <= PA_BLUETOOTH_TRANSPORT_STATE_IDLE) {
- pa_log_info("Transport %s auto-released by BlueZ or already released", t->path);
- return;
- }
-
pa_assert_se(m = dbus_message_new_method_call(t->owner, t->path, "org.bluez.MediaTransport1", "Release"));
}