summaryrefslogtreecommitdiffstats
path: root/src/device.h
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/device.h
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/device.h')
-rw-r--r--src/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.h b/src/device.h
index f977d7eb..a1fa15ab 100644
--- a/src/device.h
+++ b/src/device.h
@@ -29,7 +29,7 @@ struct btd_device *device_create(DBusConnection *conn, struct btd_adapter *adapt
void device_remove(DBusConnection *conn, struct btd_device *device);
gint device_address_cmp(struct btd_device *device, const gchar *address);
int device_browse(struct btd_device *device, DBusConnection *conn,
- DBusMessage *msg, uuid_t *search);
+ DBusMessage *msg, uuid_t *search, gboolean reverse);
void device_probe_drivers(struct btd_device *device, GSList *uuids, sdp_list_t *recs);
struct btd_adapter *device_get_adapter(struct btd_device *device);
void device_get_address(struct btd_device *adapter, bdaddr_t *bdaddr);