From: Arend van Spriel Date: Fri, 7 Jun 2013 09:03:00 +0000 (+0200) Subject: brcmfmac: free primary net_device when brcmf_bus_start() fails X-Git-Tag: v3.10~13^2~34^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcb3701849957917a234a61b58ad70ed35c83eda;p=pandora-kernel.git 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 Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed