|
From: Olov H. <ol...@us...> - 2001-07-05 19:02:07
|
The following file was modified in linux/include/linux/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci_internal.h 1.19 1.20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Added timeout value to cmdtimer
The diff of the modified file(s):
--- hci_internal.h 2001/06/15 12:31:55 1.19
+++ hci_internal.h 2001/07/05 10:54:34 1.20
@@ -286,6 +286,10 @@
#define DISCMSG_LOW_RESOURCES 0x14
#define DISCMSG_ABOUT_TO_POWER_OFF 0x15
=20
+/* Time out values */
+#define DEFAULT_TIMEOUT 2=20
+#define LONG_TIMEOUT 15
+
/****************** TYPE DEFINITION SECTION ******************************=
***/
=20
/* Struct used to keep track of the current number of buffers, and the siz=
es
@@ -342,9 +346,9 @@
Implemented in hci.c
*/
void release_cmd_timer(void);
-void start_cmd_timer(void);
+void start_cmd_timer(u8 max_time);
s32 send_cmd(u8 *cmd, u8 len);
-s32 send_cmd_block(u8 *cmd, u8 len);
+s32 send_cmd_block(u8 *cmd, u8 len, u8 max_time);
=20
/*
Called from hci.c.
|