From: Shengzhen Li Date: Tue, 26 Apr 2016 14:25:45 +0000 (-0700) Subject: mwifiex: change sleep cookie poll count X-Git-Tag: v4.7-rc1~96^2~8^2~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=251a9605ab882998009002bf1f5176a049beba53;p=karo-tx-linux.git mwifiex: change sleep cookie poll count Sometimes current polling count is not sufficient. This patch increases it to 100. Signed-off-by: Shengzhen Li Signed-off-by: Amitkumar Karwar Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.h b/drivers/net/wireless/marvell/mwifiex/pcie.h index 5770b4396b21..9a1d09dbd2c2 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;