summaryrefslogtreecommitdiffstats
path: root/src/hcid.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-09-23 23:22:31 -0700
committerJohan Hedberg <johan.hedberg@nokia.com>2008-09-23 23:22:31 -0700
commitee33a0705e529b66d9e8fc85381bc2efa0e43457 (patch)
treea9828b69b5b52df7cbabba04647a648105457f00 /src/hcid.h
parent175702e7b18701999d34e9fd3067098dbd6fa0f0 (diff)
Use a common timeout for hci commands
Diffstat (limited to 'src/hcid.h')
-rw-r--r--src/hcid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hcid.h b/src/hcid.h
index 687481c3..fc8b446f 100644
--- a/src/hcid.h
+++ b/src/hcid.h
@@ -45,6 +45,9 @@
#define HCID_OFFMODE_DEVDOWN 0
#define HCID_OFFMODE_NOSCAN 1
+/* Timeout for hci_send_req (milliseconds) */
+#define HCI_REQ_TIMEOUT 5000
+
struct main_opts {
char host_name[40];
unsigned long flags;