aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorFranky Lin <frankyl@broadcom.com>2012-04-27 21:56:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-05-08 21:53:53 -0400
commitf0116fbfcb2559a32e6387ee1699cccf977dab73 (patch)
tree4fe5ca6c84f7cb75aeb8d9f88aaf1de993a8d25c /drivers/net
parent3073a7c20cea0b7a9946fe61f09d43aa61deb9ea (diff)
brcmfmac: stop releasing sdio host in irq handler
brcmf_sdbrcm_isr doesn't access to the dongle through SDIO bus. Stop releasing and claiming host in irq handler to eliminate any potential risk. Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Franky Lin <frankyl@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
index e925290b432b..ea350200a7db 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
@@ -45,11 +45,7 @@ static void brcmf_sdioh_irqhandler(struct sdio_func *func)
45 45
46 brcmf_dbg(TRACE, "***IRQHandler\n"); 46 brcmf_dbg(TRACE, "***IRQHandler\n");
47 47
48 sdio_release_host(func);
49
50 brcmf_sdbrcm_isr(sdiodev->bus); 48 brcmf_sdbrcm_isr(sdiodev->bus);
51
52 sdio_claim_host(func);
53} 49}
54 50
55/* dummy handler for SDIO function 2 interrupt */ 51/* dummy handler for SDIO function 2 interrupt */