summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHamad Kadmany <hkadmany@codeaurora.org>2018-07-24 10:44:34 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-07-31 11:01:17 +0300
commit6ccae584014ef7074359eb4151086beef66ecfa9 (patch)
treea94f1785e917b073aaa9fa37031eca64ccc4aa9e
parent1b99197dc00cbb34cb39be70ad5beb4a5a84be4b (diff)
downloadlinux-rt-6ccae584014ef7074359eb4151086beef66ecfa9.tar.gz
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: Hamad Kadmany <hkadmany@codeaurora.org> Signed-off-by: Maya Erez <merez@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r--drivers/net/wireless/ath/wil6210/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/main.c b/drivers/net/wireless/ath/wil6210/main.c
index a949e919061b..7dcbd4629e0d 100644
--- a/drivers/net/wireless/ath/wil6210/main.c
+++ b/drivers/net/wireless/ath/wil6210/main.c
@@ -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)
{
- ulong to = msecs_to_jiffies(1000);
+ ulong to = msecs_to_jiffies(2000);
ulong left = wait_for_completion_timeout(&wil->wmi_ready, to);
if (0 == left) {