提交 6ccae584 编写于 作者: H Hamad Kadmany 提交者: Kalle Valo

wil6210: increase firmware ready timeout

Firmware ready event may take longer than
current timeout in some scenarios, for example
with multiple RFs connected where each
requires an initial calibration.

Increase the timeout to support these scenarios.
Signed-off-by: NHamad Kadmany <hkadmany@codeaurora.org>
Signed-off-by: NMaya Erez <merez@codeaurora.org>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 1b99197d
...@@ -1282,7 +1282,7 @@ static int wil_get_otp_info(struct wil6210_priv *wil) ...@@ -1282,7 +1282,7 @@ static int wil_get_otp_info(struct wil6210_priv *wil)
static int wil_wait_for_fw_ready(struct wil6210_priv *wil) static int wil_wait_for_fw_ready(struct wil6210_priv *wil)
{ {
ulong to = msecs_to_jiffies(1000); ulong to = msecs_to_jiffies(2000);
ulong left = wait_for_completion_timeout(&wil->wmi_ready, to); ulong left = wait_for_completion_timeout(&wil->wmi_ready, to);
if (0 == left) { if (0 == left) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册