aboutsummaryrefslogtreecommitdiff
path: root/at76_usb.h
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-06-20 23:56:20 -0400
committerGuido Guenther <agx@sigxcpu.org>2007-06-26 09:53:13 -0400
commit99fb0183fe404486674f73a3aa5b37b5e9e817d9 (patch)
tree5abac649db2e23766d2af33ffb58a66a2ebbfe6a /at76_usb.h
parentc02cd537c8eb070640a552f0d0d242a9eef05667 (diff)
[PATCH] Implement 5 second timeout in at76_wait_completion()
Signed-off-by: Pavel Roskin <proski@gnu.org>
Diffstat (limited to 'at76_usb.h')
-rw-r--r--at76_usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/at76_usb.h b/at76_usb.h
index 67ab610..691b837 100644
--- a/at76_usb.h
+++ b/at76_usb.h
@@ -621,6 +621,8 @@ struct at76_rx_radiotap {
#define BEACON_TIMEOUT 10
/* the interval in ticks we poll if scan is completed */
#define SCAN_POLL_INTERVAL (HZ/4)
+/* the interval in ticks to wait for a command to be completed */
+#define CMD_COMPLETION_TIMEOUT (5 * HZ)
#define DEF_RTS_THRESHOLD 1536
#define DEF_FRAG_THRESHOLD 1536