提交 5536f20a 编写于 作者: H Hante Meuleman 提交者: Kalle Valo

brcmfmac: Fix double free on exception at module load.

Reviewed-by: NArend Van Spriel <arend@broadcom.com>
Reviewed-by: NPieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: NHante Meuleman <meuleman@broadcom.com>
Signed-off-by: NArend van Spriel <arend@broadcom.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 46d703a7
...@@ -1083,6 +1083,8 @@ int brcmf_bus_start(struct device *dev) ...@@ -1083,6 +1083,8 @@ int brcmf_bus_start(struct device *dev)
brcmf_net_detach(ifp->ndev); brcmf_net_detach(ifp->ndev);
if (p2p_ifp) if (p2p_ifp)
brcmf_net_detach(p2p_ifp->ndev); brcmf_net_detach(p2p_ifp->ndev);
drvr->iflist[0] = NULL;
drvr->iflist[1] = NULL;
return ret; return ret;
} }
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册