brcmfmac: assure USB dongle firmware is reset upon module unload
authorArend van Spriel <arend@broadcom.com>
Wed, 2 Jan 2013 14:22:40 +0000 (15:22 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:16:56 +0000 (15:16 -0500)
commit81d5f1bbc47961b2347d2b92b2aec56e6bad8779
tree21d36ca3a10a49a9df577301d2abb4d86058a27a
parentac744395ba0a0491f8524a8371ad6f7df67bf673
brcmfmac: assure USB dongle firmware is reset upon module unload

Upon unloading the brcmfmac module the USB firmware should be reset
as the device remains powered. The reset assures a known device
state when a new brcmfmac driver load is being done.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd.h
drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c
drivers/net/wireless/brcm80211/brcmfmac/usb.c