brcmfmac: sdio unload fix.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 15 Nov 2012 02:46:19 +0000 (18:46 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Nov 2012 19:29:00 +0000 (14:29 -0500)
commit2def5c10d2f8f81c8089b2c1b63fdc278e7d86f0
tree598428a6153ef0b21b7b85849f60fb380ecc013a
parent37ac5780e08e4e3ce67e8355e52d71324e9c11cd
brcmfmac: sdio unload fix.

on sdio remove the bus_if should be configured for close, so
new data from higher layers will be blocked. Also the access
to bus_if in the watchdog should be checked for null pointer
access on sdio remove.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c