Hi Andrei, On Thu, Jun 14, 2012 at 3:45 AM, Andrei Emeltchenko <Andrei.Emeltchenko.news@xxxxxxxxx> wrote: > From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> > > Move AUTO_OFF_TIMEOUT to other constants changing name to > HCI_AUTO_OFF_TIMEOUT and convert to jiffies. > > Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> > --- > include/net/bluetooth/hci.h | 3 ++- > net/bluetooth/hci_core.c | 5 +---- > 2 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h > index 3d1ad2c..a7b334e 100644 > --- a/include/net/bluetooth/hci.h > +++ b/include/net/bluetooth/hci.h > @@ -153,8 +153,9 @@ enum { > #define HCI_DISCONN_TIMEOUT msecs_to_jiffies(4000) /* 2 seconds */ There is a typo in the comment above. It should be "4 seconds". Maybe you can fix it in a separate patch together with the "seconds" -> "second" fix you did below? > #define HCI_PAIRING_TIMEOUT msecs_to_jiffies(60000) /* 60 seconds */ > #define HCI_INIT_TIMEOUT msecs_to_jiffies(10000) /* 10 seconds */ > -#define HCI_CMD_TIMEOUT msecs_to_jiffies(1000) /* 1 seconds */ > +#define HCI_CMD_TIMEOUT msecs_to_jiffies(1000) /* 1 second */ > #define HCI_ACL_TX_TIMEOUT msecs_to_jiffies(45000) /* 45 seconds */ > +#define HCI_AUTO_OFF_TIMEOUT msecs_to_jiffies(2000) /* 2 seconds */ > > /* HCI data types */ > #define HCI_COMMAND_PKT 0x01 Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html