From 69adac833c5633714b84bf840c75aa814193b8a6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 9 Oct 2008 09:09:01 +0200 Subject: Don't detect profile removal on during reverse service discovery Some devices will hide their service secords when they are connected so we incorrectly think that they have removed support for the profile. A simple solution is not to try to do this detection when we are doing reverse service discovery. --- src/adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/adapter.c') diff --git a/src/adapter.c b/src/adapter.c index d850bee3..1e22b4b3 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -1901,7 +1901,7 @@ static DBusMessage *create_device(DBusConnection *conn, device_set_temporary(device, FALSE); - device_browse(device, conn, msg, NULL); + device_browse(device, conn, msg, NULL, FALSE); adapter->devices = g_slist_append(adapter->devices, device); -- cgit