]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
wil6210: increase firmware ready timeout
authorHamad Kadmany <hkadmany@codeaurora.org>
Tue, 24 Jul 2018 07:44:34 +0000 (10:44 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 08:01:17 +0000 (11:01 +0300)
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>
drivers/net/wireless/ath/wil6210/main.c

index a949e919061b3faf24e4d08186a4c0c8a7655788..7dcbd4629e0d14c843c50a9c0018c3f77a8e3608 100644 (file)
@@ -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) {