]> Git Repo - linux.git/commit
brcmfmac: free primary net_device when brcmf_bus_start() fails
authorArend van Spriel <[email protected]>
Fri, 7 Jun 2013 09:03:00 +0000 (11:03 +0200)
committerJohn W. Linville <[email protected]>
Thu, 13 Jun 2013 17:24:12 +0000 (13:24 -0400)
commitfcb3701849957917a234a61b58ad70ed35c83eda
tree4199a5c57c41c430b47f45bdbc7ea8e7e7d7377a
parentea05fea9042620ac3b8ab9a3e5e4d2ed80c89244
brcmfmac: free primary net_device when brcmf_bus_start() fails

When initialization within brcmf_bus_start() fails on steps
before the brcmf_net_attach() the net_device for the primary
interface needs to be freed.

This patch resolves a panic during kernel boot as reported
by Stephen Warren.

ref.: http://mid.gmane.org/51AD1F22.2080004@wwwdotorg.org

Tested-by: Stephen Warren <[email protected]>
Reviewed-by: Hante Meuleman <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c
This page took 0.042832 seconds and 4 git commands to generate.