From 107aa01b32846c32401d9a6675f996f62f9856a5 Mon Sep 17 00:00:00 2001 From: Amedeo Baragiola Date: Fri, 22 Feb 2019 08:38:07 +0100 Subject: [PATCH] Timeout prevent Increase MAX_WAIT_FW_COMPLETE_ITERATIONS to 10000 as before commit e5e0700 to prevent timeout as reported here: https://github.com/kaloz/mwlwifi/issues/308 (Original OP issue is probably not related though as his post preceeds commit e5e0700). --- hif/pcie/pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hif/pcie/pcie.c b/hif/pcie/pcie.c index da55913c..3fbb1707 100644 --- a/hif/pcie/pcie.c +++ b/hif/pcie/pcie.c @@ -33,7 +33,7 @@ #define PCIE_DRV_DESC "Marvell Mac80211 Wireless PCIE Network Driver" #define PCIE_DEV_NAME "Marvell 802.11ac PCIE Adapter" -#define MAX_WAIT_FW_COMPLETE_ITERATIONS 2000 +#define MAX_WAIT_FW_COMPLETE_ITERATIONS 10000 #define CHECK_BA_TRAFFIC_TIME 300 /* msec */ #define CHECK_TX_DONE_TIME 50 /* msec */