Skip to content

Commit

Permalink
wlcore: increase command completion timeout
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luciano Coelho committed Jul 18, 2012
1 parent 5285eb5 commit e8c7b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ti/wlcore/cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e8c7b33

Please sign in to comment.