linux/drivers/net/wireless/broadcom/brcm80211
Arend van Spriel 14fcfd1cc0 brcmfmac: change the order of things in brcmf_detach()
When brcmf_detach() from the bus layer upon rmmod we can no longer
communicate. Hence we will set the bus state to DOWN and cleanup
the event and protocol layer. The network interfaces need to be
deleted before brcmf_cfg80211_detach() because the latter does the
wiphy_unregister() which issues a warning if there are still network
devices linked to the wiphy instance.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Tested-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-07-24 14:51:22 +03:00
..
brcmfmac brcmfmac: change the order of things in brcmf_detach() 2019-07-24 14:51:22 +03:00
brcmsmac brcmsmac: switch phy source files to using SPDX license identifier 2019-05-28 15:24:11 +03:00
brcmutil brcmutil: switch source files to using SPDX license identifier 2019-05-28 15:24:10 +03:00
include brcm80211: switch common header files to using SPDX license identifier 2019-05-28 15:24:09 +03:00
Kconfig brcm80211: select WANT_DEV_COREDUMP conditionally for brcmfmac 2019-05-28 15:24:15 +03:00
Makefile brcmfmac: switch source files to using SPDX license identifier 2019-05-28 15:24:12 +03:00