mirror of https://gitee.com/openkylin/linux.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 <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
This commit is contained in:
parent
f8d651a56e
commit
81704d2db9
|
@ -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,
|
static void iwl_generic_cmd_callback(struct iwl_priv *priv,
|
||||||
struct iwl_device_cmd *cmd,
|
struct iwl_device_cmd *cmd,
|
||||||
|
|
Loading…
Reference in New Issue