summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/0046-mmc_rescan_entered/mwifiex.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/collateral-evolutions/network/0046-mmc_rescan_entered/mwifiex.patch')
-rw-r--r--patches/collateral-evolutions/network/0046-mmc_rescan_entered/mwifiex.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/collateral-evolutions/network/0046-mmc_rescan_entered/mwifiex.patch b/patches/collateral-evolutions/network/0046-mmc_rescan_entered/mwifiex.patch
index 05e4f9d1..cf74afa1 100644
--- a/patches/collateral-evolutions/network/0046-mmc_rescan_entered/mwifiex.patch
+++ b/patches/collateral-evolutions/network/0046-mmc_rescan_entered/mwifiex.patch
@@ -2,8 +2,8 @@
+++ b/drivers/net/wireless/mwifiex/sdio.c
@@ -1960,7 +1960,9 @@ static void mwifiex_sdio_card_reset_work
mmc_remove_host(target);
- /* 20ms delay is based on experiment with sdhci controller */
- mdelay(20);
+ /* 200ms delay is based on experiment with sdhci controller */
+ mdelay(200);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0)
target->rescan_entered = 0; /* rescan non-removable cards */
+#endif