]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: correct error handling in brcmf_fws_init()
authorArend van Spriel <arend@broadcom.com>
Tue, 23 Apr 2013 10:53:14 +0000 (12:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 23 Apr 2013 18:17:03 +0000 (14:17 -0400)
commit31aacd3b115d428c992609397b44dd30536d123a
treef4861959293722f2bb977a6ce148a42a2370575b
parentdaa263cf29860607781bc25ffed87056077db5d4
brcmfmac: correct error handling in brcmf_fws_init()

In brcmf_fws_init() the error flows were not properly handled
and the caller ignored the return value. The only action that
is allowed to fail in brcmf_fws_init() is setting the tlv in
firmware as the feature is not supported on all devices.

Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c