summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2012-05-15 16:46:57 +0300
committerLuciano Coelho <coelho@ti.com>2012-06-05 20:24:31 +0300
commit0c2129843502833c6e4117db8f312b625a23ef15 (patch)
treecc96370a6b5ec26104b1f637ad2f9a657e0e4819
parentd1bcb53f91ed6838dccb04aa5cf71ea8a98770f2 (diff)
downloadblackbird-op-linux-0c2129843502833c6e4117db8f312b625a23ef15.tar.gz
blackbird-op-linux-0c2129843502833c6e4117db8f312b625a23ef15.zip
wlcore: increase WL1271_EVENT_TIMEOUT
In some cases, the ROC_COMPLETE event might exceed the current timeout (750 msec). Increase it to 1 sec. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
-rw-r--r--drivers/net/wireless/ti/wlcore/cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/cmd.h b/drivers/net/wireless/ti/wlcore/cmd.h
index 2aafe3df0fb0..85171f2bf68e 100644
--- a/drivers/net/wireless/ti/wlcore/cmd.h
+++ b/drivers/net/wireless/ti/wlcore/cmd.h
@@ -192,7 +192,7 @@ enum cmd_templ {
#define WL1271_COMMAND_TIMEOUT 2000
#define WL1271_CMD_TEMPL_DFLT_SIZE 252
#define WL1271_CMD_TEMPL_MAX_SIZE 512
-#define WL1271_EVENT_TIMEOUT 750
+#define WL1271_EVENT_TIMEOUT 1000
struct wl1271_cmd_header {
__le16 id;
OpenPOWER on IntegriCloud