projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6fb31
)
mwifiex: card reset: enable rescan of non-removable card
author
Andreas Fenkart
<afenkart@gmail.com>
Mon, 21 Jul 2014 08:01:52 +0000
(10:01 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 22 Jul 2014 17:53:17 +0000
(13:53 -0400)
mmc_rescan will scan for non-removable cards only once, hence the card
will not be rediscovered.
Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sdio.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mwifiex/sdio.c
b/drivers/net/wireless/mwifiex/sdio.c
index
3e48ef5
..
1770fa3
100644
(file)
--- a/
drivers/net/wireless/mwifiex/sdio.c
+++ b/
drivers/net/wireless/mwifiex/sdio.c
@@
-1954,6
+1954,7
@@
static void mwifiex_sdio_card_reset_work(struct mwifiex_adapter *adapter)
mmc_remove_host(target);
/* 20ms delay is based on experiment with sdhci controller */
mdelay(20);
+ target->rescan_entered = 0; /* rescan non-removable cards */
mmc_add_host(target);
}