From patchwork Mon Aug 28 19:18:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maya Erez X-Patchwork-Id: 9926049 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1FC4A60375 for ; Mon, 28 Aug 2017 19:19:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CDB620453 for ; Mon, 28 Aug 2017 19:19:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3CEC2879E; Mon, 28 Aug 2017 19:19:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD6392879B for ; Mon, 28 Aug 2017 19:19:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751386AbdH1TTH (ORCPT ); Mon, 28 Aug 2017 15:19:07 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:41752 "EHLO alexa-out-lv-01.qualcomm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751192AbdH1TTG (ORCPT ); Mon, 28 Aug 2017 15:19:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1503947946; x=1535483946; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=B0eTkerlop15QaiYS2lwbD8S6PQSG+nm3q7y3jLZyHM=; b=yaM70vfoQKaGqwR5KsSAyjpJ+70Mq7mKbAWEnF7524hdw846LKHr8woN Vw35Jo7xob7QgWq3RPKiGqFlBXP8RmL6h0XUjwRYs8Rozuop0ip/LRpi2 BNctRwzAoRhWBWivmn+zwBWR6Fn21yeJR7EbRoZ/MigCinSrZm2Rqc+/o 4=; X-IronPort-AV: E=Sophos;i="5.41,442,1498546800"; d="scan'208";a="4181694" Received: from ironmsg03-r-new.qualcomm.com (HELO Ironmsg03-R.qualcomm.com) ([10.53.140.107]) by alexa-out-lv-01.qualcomm.com with ESMTP; 28 Aug 2017 12:19:06 -0700 X-IronPort-AV: E=McAfee;i="5900,7806,8637"; a="1430573196" X-MGA-submission: =?us-ascii?q?MDGv943np48ykcFAuL+YD6El2KkMtyrPo+B/4F?= =?us-ascii?q?NE5goCm2L31nGfqGESYjQymocN4nYoSkdjklvXAJFCYc/12FjtRDJXNQ?= =?us-ascii?q?gW3hyLxBx38GdTj4ueNz6ml4fkFgFJPRYUyralXzyc3go07APGLhoaNt?= =?us-ascii?q?3s?= Received: from lx-merez1.mea.qualcomm.com ([10.18.173.103]) by Ironmsg03-R.qualcomm.com with ESMTP; 28 Aug 2017 12:19:04 -0700 From: Maya Erez To: Kalle Valo Cc: Lior David , linux-wireless@vger.kernel.org, wil6210@qca.qualcomm.com, Maya Erez Subject: [PATCH 6/7] wil6210: increase connect timeout Date: Mon, 28 Aug 2017 22:18:46 +0300 Message-Id: <1503947927-18877-7-git-send-email-qca_merez@qca.qualcomm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503947927-18877-1-git-send-email-qca_merez@qca.qualcomm.com> References: <1503947927-18877-1-git-send-email-qca_merez@qca.qualcomm.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Lior David 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 Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/wil6210/cfg80211.c b/drivers/net/wireless/ath/wil6210/cfg80211.c index 9b529ea..0712a89 100644 --- a/drivers/net/wireless/ath/wil6210/cfg80211.c +++ b/drivers/net/wireless/ath/wil6210/cfg80211.c @@ -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); }