sun60iw2: allow rfkill SDIO WiFi rescans
This commit is contained in:
parent
68d509d476
commit
ff205dd6b3
@ -62,6 +62,13 @@ void sunxi_mmc_rescan_card(unsigned id)
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* WiFi modules are described as non-removable SDIO devices, but their
|
||||
* power can be controlled later by rfkill. If the first boot-time scan
|
||||
* runs while the module is still off, MMC core marks the host as already
|
||||
* scanned and ignores later rescans unless this flag is cleared.
|
||||
*/
|
||||
sunxi_hosts[id]->mmc->rescan_entered = 0;
|
||||
mmc_detect_change(sunxi_hosts[id]->mmc, 0);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sunxi_mmc_rescan_card);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user