|
@@ -5682,6 +5682,7 @@ void brcmf_cfg80211_detach(struct brcmf_cfg80211_info *cfg)
|
|
|
WARN_ON(!list_empty(&cfg->vif_list));
|
|
WARN_ON(!list_empty(&cfg->vif_list));
|
|
|
wiphy_unregister(cfg->wiphy);
|
|
wiphy_unregister(cfg->wiphy);
|
|
|
brcmf_btcoex_detach(cfg);
|
|
brcmf_btcoex_detach(cfg);
|
|
|
|
|
+ brcmf_p2p_detach(&cfg->p2p);
|
|
|
wl_deinit_priv(cfg);
|
|
wl_deinit_priv(cfg);
|
|
|
brcmf_free_wiphy(cfg->wiphy);
|
|
brcmf_free_wiphy(cfg->wiphy);
|
|
|
}
|
|
}
|