Return-path: Received: from mail-we0-f174.google.com ([74.125.82.174]:42523 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758872Ab2EONiy (ORCPT ); Tue, 15 May 2012 09:38:54 -0400 Received: by weyu7 with SMTP id u7so2485267wey.19 for ; Tue, 15 May 2012 06:38:53 -0700 (PDT) From: Arik Nemtsov To: Cc: Luciano Coelho , Eliad Peller , Arik Nemtsov Subject: [PATCH 2/3] wlcore: increase WL1271_EVENT_TIMEOUT Date: Tue, 15 May 2012 16:38:45 +0300 Message-Id: <1337089126-11570-2-git-send-email-arik@wizery.com> (sfid-20120515_153857_177223_5B791D8F) In-Reply-To: <1337089126-11570-1-git-send-email-arik@wizery.com> References: <1337089126-11570-1-git-send-email-arik@wizery.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Eliad Peller In some cases, the ROC_COMPLETE event might exceed the current timeout (750 msec). Increase it to 1 sec. Signed-off-by: Eliad Peller Signed-off-by: Arik Nemtsov --- 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 2aafe3d..85171f2 100644 --- a/drivers/net/wireless/ti/wlcore/cmd.h +++ b/drivers/net/wireless/ti/wlcore/cmd.h @@ -192,7 +192,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 750 +#define WL1271_EVENT_TIMEOUT 1000 struct wl1271_cmd_header { __le16 id; -- 1.7.9.5