From ee33a0705e529b66d9e8fc85381bc2efa0e43457 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 23 Sep 2008 23:22:31 -0700 Subject: Use a common timeout for hci commands --- src/hcid.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/hcid.h') 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; -- cgit