bluetooth: remove racy GetProperties to check profile
authorMarc-André Lureau <marc-andre.lureau@nokia.com>
Fri, 27 Mar 2009 11:43:32 +0000 (13:43 +0200)
committerMarc-André Lureau <marc-andre.lureau@nokia.com>
Fri, 27 Mar 2009 20:59:56 +0000 (22:59 +0200)
src/modules/bluetooth/bluetooth-util.c

index 3dfc65e..3d410c5 100644 (file)
@@ -401,12 +401,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.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) {