From patchwork Mon Feb 10 11:47:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eliad Peller X-Patchwork-Id: 3618391 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 338C5BF418 for ; Mon, 10 Feb 2014 11:48:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7A8D62017D for ; Mon, 10 Feb 2014 11:48:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 75A5320138 for ; Mon, 10 Feb 2014 11:48:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752761AbaBJLsR (ORCPT ); Mon, 10 Feb 2014 06:48:17 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:65000 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752744AbaBJLsJ (ORCPT ); Mon, 10 Feb 2014 06:48:09 -0500 Received: by mail-wi0-f172.google.com with SMTP id e4so2705053wiv.5 for ; Mon, 10 Feb 2014 03:48:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WfZzpvkf33a6B46G8JuE/bEugVv2+bPpD8LdlfFS8FI=; b=a8E4+fOAXt46M6WNhpJbIxHI+aMj4iT+BcdKmeJBmfLBKNMmmDMzectH8DHUn/VEhX dvnIB2Uvt08KpbIKDM9wtQib4n3sWQqOk4sCA0/VUJ4BjHJbmaV212cdjtpzvfIbrfAm TqkwqYitNF//Fe44a/ZaqXuH9WoOFqAlfzvmBVoA784lKze9yqZg8sCaUJRCznBSCNDO q2TqoiUhJIcJHhYGQk99Qvx8WD44+vdAFpxndI3Ln7ZBzJn+W1072GSsDTYLIrBZjnWu rQeObFrxnpz6HTJc+QxA21Xr5VlBKZjfeQq1xQBSrxiJ96FrU/pj8Iq/SUk7HQXJz9MG OZPA== X-Gm-Message-State: ALoCoQmG0x8+TiJ9haHk84gc+Xkmfxfyu8CpLehPS5CuBFuNuJt2tQOhrVhmpaw5rFK95ogKyDGy X-Received: by 10.180.24.227 with SMTP id x3mr10188802wif.41.1392032887705; Mon, 10 Feb 2014 03:48:07 -0800 (PST) Received: from muse.amr.corp.intel.com (93-173-177-113.bb.netvision.net.il. [93.173.177.113]) by mx.google.com with ESMTPSA id ju6sm34687484wjc.1.2014.02.10.03.48.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 03:48:07 -0800 (PST) From: Eliad Peller To: "John W. Linville" Cc: Subject: [PATCH 16/18] wlcore: increase timeout to 5000 msecs Date: Mon, 10 Feb 2014 13:47:32 +0200 Message-Id: <1392032854-28126-17-git-send-email-eliad@wizery.com> X-Mailer: git-send-email 1.8.5.2.229.g4448466.dirty In-Reply-To: <1392032854-28126-1-git-send-email-eliad@wizery.com> References: <1392032854-28126-1-git-send-email-eliad@wizery.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yaniv Machani dfs configuration command might take longer than the current timeout. increase it to 5 seconds. Signed-off-by: Yaniv Machani Signed-off-by: Eliad Peller --- drivers/net/wireless/ti/wlcore/cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wlcore/cmd.h b/drivers/net/wireless/ti/wlcore/cmd.h index 9cb3f44..b084830 100644 --- a/drivers/net/wireless/ti/wlcore/cmd.h +++ b/drivers/net/wireless/ti/wlcore/cmd.h @@ -207,7 +207,7 @@ enum cmd_templ { #define WL1271_COMMAND_TIMEOUT 2000 #define WL1271_CMD_TEMPL_DFLT_SIZE 252 #define WL1271_CMD_TEMPL_MAX_SIZE 512 -#define WL1271_EVENT_TIMEOUT 1500 +#define WL1271_EVENT_TIMEOUT 5000 struct wl1271_cmd_header { __le16 id;