From: Arend van Spriel Date: Tue, 23 Apr 2013 10:53:14 +0000 (+0200) Subject: brcmfmac: correct error handling in brcmf_fws_init() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~43^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a786b38d542f62e19ffa8adbcbfc82065cd13a11;p=pandora-kernel.git 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 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