brcmfmac: sdio unload fix.
[deliverable/linux.git] / drivers / net / wireless / brcm80211 / brcmfmac / bcmsdh.c
index 1aec4342875d4b72ed7a9249b0a5b184f038ff94..b924ed7d3e012d68998262264cbb288fb8392354 100644 (file)
@@ -535,6 +535,8 @@ EXPORT_SYMBOL(brcmf_sdio_probe);
 
 int brcmf_sdio_remove(struct brcmf_sdio_dev *sdiodev)
 {
+       sdiodev->bus_if->state = BRCMF_BUS_DOWN;
+
        if (sdiodev->bus) {
                brcmf_sdbrcm_disconnect(sdiodev->bus);
                sdiodev->bus = NULL;
This page took 0.02438 seconds and 5 git commands to generate.