summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2014-06-21 12:11:19 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-06-25 15:32:48 -0400
commitc94b7e6cb223986a1eaf7bd4c49f2ab758752649 (patch)
treea0a7804b61e42c6ed59a6a88d3060ca64bcda093 /drivers/net/wireless/brcm80211/brcmfmac/fwil.c
parent5e787f7588ff69d3bcd546a64bf70e58a4e98fc5 (diff)
downloadlinux-stable-c94b7e6cb223986a1eaf7bd4c49f2ab758752649.tar.gz
linux-stable-c94b7e6cb223986a1eaf7bd4c49f2ab758752649.tar.bz2
linux-stable-c94b7e6cb223986a1eaf7bd4c49f2ab758752649.zip
brcmfmac: reduce log level in fwil if firmware returns error
The users of the fwil put an error message in the log so there is no need to do the same in the lower level functions in fwil when the firmware on the device returns an error. Some errors can be ignored for the driver to function and this will avoid driver users to point at the low-level error message as potential bug. 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>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/fwil.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/fwil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/fwil.c b/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
index 59a5af5bf994..ded328f80cd1 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
@@ -54,7 +54,7 @@ brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set)
if (err >= 0)
err = 0;
else
- brcmf_err("Failed err=%d\n", err);
+ brcmf_dbg(FIL, "Failed err=%d\n", err);
return err;
}