From: Johannes Berg Date: Wed, 22 Jun 2011 13:39:43 +0000 (-0700) Subject: iwlagn: extend host command timeout X-Git-Tag: v3.12-rc1~4755^2~12^2~42^2~334^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81704d2db99386d718e277cd5ac92663abec8a66;p=kernel%2Fkernel-generic.git iwlagn: extend host command timeout We've infrequently seen timeouts, make the wait time match the windows driver; hopefully our driver is just too impatient. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- diff --git a/drivers/net/wireless/iwlwifi/iwl-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-hcmd.c index 7cdb1ec..e3e5fb6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-hcmd.c +++ b/drivers/net/wireless/iwlwifi/iwl-hcmd.c @@ -113,7 +113,7 @@ const char *get_cmd_string(u8 cmd) } } -#define HOST_COMPLETE_TIMEOUT (HZ / 2) +#define HOST_COMPLETE_TIMEOUT (2 * HZ) static void iwl_generic_cmd_callback(struct iwl_priv *priv, struct iwl_device_cmd *cmd,