summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dund/main.c2
-rw-r--r--pand/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/dund/main.c b/dund/main.c
index 3eb4eb7f..837073f9 100644
--- a/dund/main.c
+++ b/dund/main.c
@@ -328,7 +328,7 @@ static int do_connect(void)
/* FIXME: Should we use non general LAP here ? */
ii = NULL;
- n = hci_inquiry(src_dev, search_duration, 10, NULL, &ii, 0);
+ n = hci_inquiry(src_dev, search_duration, 0, NULL, &ii, 0);
if (n < 0) {
syslog(LOG_ERR, "Inquiry failed. %s(%d)", strerror(errno), errno);
continue;
diff --git a/pand/main.c b/pand/main.c
index 2090f9f8..959d6057 100644
--- a/pand/main.c
+++ b/pand/main.c
@@ -363,7 +363,7 @@ static int do_connect(void)
/* FIXME: Should we use non general LAP here ? */
ii = NULL;
- n = hci_inquiry(src_dev, search_duration, 10, NULL, &ii, 0);
+ n = hci_inquiry(src_dev, search_duration, 0, NULL, &ii, 0);
if (n < 0) {
syslog(LOG_ERR, "Inquiry failed. %s(%d)", strerror(errno), errno);
continue;