brcmfmac: free net device when registration fails
When registration fails the net device is no longer needed. Free the net device and remove reference to private data from the driver. Reviewed-by: NHante Meuleman <meuleman@broadcom.com> Signed-off-by: NArend van Spriel <arend@broadcom.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
Showing
想要评论请 注册 或 登录