summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc-André Lureau <marc-andre.lureau@nokia.com>2009-03-27 13:43:32 +0200
committerMarc-André Lureau <marc-andre.lureau@nokia.com>2009-03-27 22:59:56 +0200
commit20bd1c686ca3facb647db7189470ab1bcdae48b5 (patch)
tree9da2a6672765bf61e21201ce05975517b4efe9df /src
parent9e8c2d393a6e2ef8ceda58ff3db6c3a7a7223d46 (diff)
bluetooth: remove racy GetProperties to check profile
Diffstat (limited to 'src')
-rw-r--r--src/modules/bluetooth/bluetooth-util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
index 3dfc65e7..3d410c52 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -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) {