]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mwifiex: change sleep cookie poll count
authorShengzhen Li <szli@marvell.com>
Tue, 26 Apr 2016 14:25:45 +0000 (07:25 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 May 2016 16:41:16 +0000 (19:41 +0300)
Sometimes current polling count is not sufficient.
This patch increases it to 100.

Signed-off-by: Shengzhen Li <szli@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.h

index 5770b4396b21f5a83a993dae64e41abc95557f51..9a1d09dbd2c2177a9ea8d594954eba202aac32f2 100644 (file)
 /* 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;