brcmfmac: handle exceptions in brcmf_bus_start correct.
authorHante Meuleman <meuleman@broadcom.com>
Tue, 6 Nov 2012 00:22:15 +0000 (16:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Nov 2012 19:55:46 +0000 (14:55 -0500)
commit6b028c5ee249fa974c9730ebcf227b7351eab39d
tree24f7294f0a6d8c29a69baeb1bfab657f2ae13cf9
parentdb22ae8cd282489c5322eaa09d30bd7481ed7104
brcmfmac: handle exceptions in brcmf_bus_start correct.

On exception during brcmf_bus_start the netdev should be freed,
if already allocated.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c