diff options
author | Pavel Roskin <proski@gnu.org> | 2007-06-20 23:56:20 -0400 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2007-06-26 09:53:13 -0400 |
commit | 99fb0183fe404486674f73a3aa5b37b5e9e817d9 (patch) | |
tree | 5abac649db2e23766d2af33ffb58a66a2ebbfe6a /at76_usb.h | |
parent | c02cd537c8eb070640a552f0d0d242a9eef05667 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |