From 5ade59881c2ee8b57116414dc21615c4c94afd92 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Tue, 26 Oct 2010 16:37:12 -0300 Subject: [PATCH] Move HCI_REQ_TIMEOUT to hciops.c --- plugins/hciops.c | 2 ++ src/hcid.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/hciops.c b/plugins/hciops.c index 1d765be06..3bb9117fc 100644 --- a/plugins/hciops.c +++ b/plugins/hciops.c @@ -48,6 +48,8 @@ #include "device.h" #include "manager.h" +#define HCI_REQ_TIMEOUT 5000 + static int child_pipe[2] = { -1, -1 }; static guint child_io_id = 0; diff --git a/src/hcid.h b/src/hcid.h index 55ba12b44..0a2641bbe 100644 --- a/src/hcid.h +++ b/src/hcid.h @@ -42,9 +42,6 @@ #define MODE_LIMITED 0x03 #define MODE_UNKNOWN 0xff -/* Timeout for hci_send_req (milliseconds) */ -#define HCI_REQ_TIMEOUT 5000 - struct main_opts { char host_name[40]; unsigned long flags;