[pulseaudio-discuss] [RFCv3 16/20] bluetooth: Do not call Release() for oFono transports
jprvita at gmail.com
jprvita at gmail.com
Sun Apr 21 20:07:46 PDT 2013
From: João Paulo Rechi Vita <jprvita at openbossa.org>
---
src/modules/bluetooth/bluetooth-util.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
index 051685c..a00dac7 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -1945,6 +1945,8 @@ void pa_bluetooth_transport_release(pa_bluetooth_transport *t) {
return;
} else {
pa_assert(t->device->discovery->version == BLUEZ_VERSION_5);
+ if (t->profile == PROFILE_HFGW)
+ return;
pa_assert_se(m = dbus_message_new_method_call(t->owner, t->path, "org.bluez.MediaTransport1", "Release"));
}
--
1.7.11.7
More information about the pulseaudio-discuss
mailing list