2016-04-26 14:26:34

by Amitkumar Karwar

[permalink] [raw]
Subject: [PATCH] mwifiex: change sleep cookie poll count

From: Shengzhen Li <[email protected]>

Sometimes current polling count is not sufficient.
This patch increases it to 100.

Signed-off-by: Shengzhen Li <[email protected]>
Signed-off-by: Amitkumar Karwar <[email protected]>
---
drivers/net/wireless/marvell/mwifiex/pcie.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.h b/drivers/net/wireless/marvell/mwifiex/pcie.h
index 5770b43..9a1d09d 100644
--- a/drivers/net/wireless/marvell/mwifiex/pcie.h
+++ b/drivers/net/wireless/marvell/mwifiex/pcie.h
@@ -117,7 +117,7 @@
/* FW awake cookie after FW ready */
#define FW_AWAKE_COOKIE (0xAA55AA55)
#define MWIFIEX_DEF_SLEEP_COOKIE 0xBEEFBEEF
-#define MWIFIEX_MAX_DELAY_COUNT 5
+#define MWIFIEX_MAX_DELAY_COUNT 100

struct mwifiex_pcie_card_reg {
u16 cmd_addr_lo;
--
1.8.1.4



2016-05-10 16:41:38

by Kalle Valo

[permalink] [raw]
Subject: Re: mwifiex: change sleep cookie poll count

Amitkumar Karwar <[email protected]> wrote:
> From: Shengzhen Li <[email protected]>
>
> Sometimes current polling count is not sufficient.
> This patch increases it to 100.
>
> Signed-off-by: Shengzhen Li <[email protected]>
> Signed-off-by: Amitkumar Karwar <[email protected]>

Thanks, 1 patch applied to wireless-drivers-next.git:

251a9605ab88 mwifiex: change sleep cookie poll count

--
Sent by pwcli
https://patchwork.kernel.org/patch/8939281/