summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-01-13 18:23:07 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-01-13 18:23:07 +0200
commitbdf140bd02cee6c39ebb8c6d71ac1d4f6f7eaa07 (patch)
treea73ed295c4848a2793e950347f70242cbab57b15 /src/device.c
parent8f159d4498f549b0f9ecad9ef4147847f0583ebb (diff)
Add ReverseServiceDiscovery config option
This option is solely for qualification since the BITE tester in its grand braindeadness doesn't like use doing reverse SDP.
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index d9af8d03..b920d5a2 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1836,7 +1836,8 @@ void device_bonding_complete(struct btd_device *device, uint8_t status)
device_browse(device, bonding->conn, bonding->msg,
NULL, FALSE);
- } else if (!device->discov_active && !device->discov_timer) {
+ } else if (!device->discov_active && !device->discov_timer &&
+ main_opts.reverse_sdp) {
/* If we are not initiators and there is no currently active
* discovery or discovery timer, set the discovery timer */
debug("setting timer for reverse service discovery");