diff options
author | Franky Lin <franky.lin@broadcom.com> | 2017-03-28 11:43:25 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-04-05 15:41:16 +0300 |
commit | 8f9dd1a974380ebe2d7bf82df4e6ba6bfb89c575 (patch) | |
tree | a01f6865197a73b34066fd439134f24efa27569a /drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c | |
parent | 62c50a34883c6b821d816b6a661e5d47c09d42b2 (diff) | |
download | lwn-8f9dd1a974380ebe2d7bf82df4e6ba6bfb89c575.tar.gz lwn-8f9dd1a974380ebe2d7bf82df4e6ba6bfb89c575.zip |
brcmfmac: move brcmf_fws_deinit to bcdc layer
Move brcmf_fws_deinit into brcmf_proto_bcdc_detach since it is a bcdc
exclusive feature.
Signed-off-by: Franky Lin <franky.lin@broadcom.com>
Reviewed-by: Arend Van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c')
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c index a07c49fa745a..24da6276d29d 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c @@ -464,6 +464,7 @@ fail: void brcmf_proto_bcdc_detach(struct brcmf_pub *drvr) { + brcmf_fws_deinit(drvr); kfree(drvr->proto->pd); drvr->proto->pd = NULL; } |