[RFCv3 16/20] bluetooth: Do not call Release() for oFono transports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jo?o Paulo Rechi Vita <jprvita@xxxxxxxxxxxxx>

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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux