]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commita786b38d542f62e19ffa8adbcbfc82065cd13a11
treef4861959293722f2bb977a6ce148a42a2370575b
parent9a83f1ec670fa574ffbfa9fb1f3fdaa9c6be5974
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