summaryrefslogtreecommitdiffstats
path: root/src/adapter.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-09 09:09:01 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-09 09:09:01 +0200
commit69adac833c5633714b84bf840c75aa814193b8a6 (patch)
treeabd05d52f8f14d99337fd2e4d224009cbf9e3fea /src/adapter.c
parente4d0a3b9051923b015ce633f9385e5af126211fe (diff)
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.
Diffstat (limited to 'src/adapter.c')
-rw-r--r--src/adapter.c2
1 files changed, 1 insertions, 1 deletions
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);