wil6210: increase connect timeout
authorLior David <qca_liord@qca.qualcomm.com>
Mon, 28 Aug 2017 19:18:46 +0000 (22:18 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 31 Aug 2017 12:19:50 +0000 (15:19 +0300)
Connect can take longer than current timeout in some scenarios,
for example with long-range antenna array. Increase the timeout
to support these scenarios.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/cfg80211.c

index 9b529ea62bff7ca8fcdd12d9e49d6098ade5c7a1..0712a898205db79c669c6a6e1fd5ddbc080afd99 100644 (file)
@@ -811,7 +811,7 @@ static int wil_cfg80211_connect(struct wiphy *wiphy,
                wil->bss = bss;
                /* Connect can take lots of time */
                mod_timer(&wil->connect_timer,
-                         jiffies + msecs_to_jiffies(2000));
+                         jiffies + msecs_to_jiffies(5000));
        } else {
                clear_bit(wil_status_fwconnecting, wil->status);
        }