]> code.delx.au - pulseaudio/commitdiff
Revert "make sure we always read in all properties"
authorLennart Poettering <lennart@poettering.net>
Mon, 30 Mar 2009 22:22:17 +0000 (00:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 30 Mar 2009 22:22:17 +0000 (00:22 +0200)
This reverts commit 1c8f968282208be391f062c1656d85e2ba5078ac.

Turns out doing this is racy. The appropriate fix seems to be
38825d79123678bf0c5d156aaea4bedb888a7fcd

src/modules/bluetooth/bluetooth-util.c

index 78c1bed937e8d5dbc76154219332c7c9a9b0c6c8..02413f4a2e6f4de245de46a786eb32c6388cfc4d 100644 (file)
@@ -418,15 +418,6 @@ static void found_device(pa_bluetooth_discovery *y, const char* path) {
 
     pa_assert_se(m = dbus_message_new_method_call("org.bluez", path, "org.bluez.Device", "GetProperties"));
     send_and_add_to_pending(y, d, m, get_properties_reply);
-
-    pa_assert_se(m = dbus_message_new_method_call("org.bluez", path, "org.bluez.Audio", "GetProperties"));
-    send_and_add_to_pending(y, d, m, get_properties_reply);
-
-    pa_assert_se(m = dbus_message_new_method_call("org.bluez", path, "org.bluez.Headset", "GetProperties"));
-    send_and_add_to_pending(y, d, m, get_properties_reply);
-
-    pa_assert_se(m = dbus_message_new_method_call("org.bluez", path, "org.bluez.AudioSink", "GetProperties"));
-    send_and_add_to_pending(y, d, m, get_properties_reply);
 }
 
 static void list_devices_reply(DBusPendingCall *pending, void *userdata) {