From: João Paulo Rechi Vita <[email protected]>

---
 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

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to