[pulseaudio-discuss] [PATCH 25/56] bluetooth: Remove all devices when org.bluez goes away

jprvita at gmail.com jprvita at gmail.com
Fri Jul 12 11:06:40 PDT 2013


From: João Paulo Rechi Vita <jprvita at openbossa.org>

---
 src/modules/bluetooth/bluez5-util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c
index 574a22d..87aaa37 100644
--- a/src/modules/bluetooth/bluez5-util.c
+++ b/src/modules/bluetooth/bluez5-util.c
@@ -163,7 +163,7 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *m, void *us
         if (pa_streq(name, BLUEZ_SERVICE)) {
             if (old_owner && *old_owner) {
                 pa_log_debug("Bluetooth daemon disappeared");
-                /* TODO: remove all devices */
+                pa_bluetooth_discovery_remove_all_devices(y);
             }
 
             if (new_owner && *new_owner) {
-- 
1.7.11.7



More information about the pulseaudio-discuss mailing list