]> 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)
commit841ad22a6f53f61300c152cb514244296ca5555d
treef4861959293722f2bb977a6ce148a42a2370575b
parentf117e727c2c526f2c9b297d4336d092fae097ba8
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