wlcore: increase command completion timeout
authorLuciano Coelho <coelho@ti.com>
Wed, 18 Jul 2012 12:05:24 +0000 (15:05 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 18 Jul 2012 12:08:45 +0000 (15:08 +0300)
In some rare cases, the CMD_ROC completion may take over 1 second.
The timeout had earlier been increased to 1000ms (from 750ms), but it
is still not enoug.  Increase it to 1500ms.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/cmd.h

index d7d9f801e50681650696be60682e4e280f250894..4ef0b095f0d61cbb2d85d7f9986cf8f25f58fa81 100644 (file)
@@ -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       1000
+#define WL1271_EVENT_TIMEOUT       1500
 
 struct wl1271_cmd_header {
        __le16 id;