diff options
author | Arend van Spriel <arend@broadcom.com> | 2012-02-09 20:09:04 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-22 19:48:51 (GMT) |
commit | c0e89f084b5089acdfdda1cb45c88896fa0f5139 (patch) | |
tree | adca7714127380f7fc6ef401376f1a037d2f6d94 /drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c | |
parent | f3d7cdc3b41804096a9df9c5d7a9439ef192f36a (diff) | |
download | linux-fsl-qoriq-c0e89f084b5089acdfdda1cb45c88896fa0f5139.tar.xz |
brcm80211: fmac: only return success in brcmf_sdbrcm_bus_init() when true
The function brcmf_sdbrcm_bus_init() always returned success except for
firmware download failure. However, also when enabling SDIO function 2
is failing the function should return failure. This patch fixes that.
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c')
0 files changed, 0 insertions, 0 deletions