brcmfmac: reduce log level in fwil if firmware returns error
authorArend van Spriel <[email protected]>
Sat, 21 Jun 2014 10:11:19 +0000 (12:11 +0200)
committerJohn W. Linville <[email protected]>
Wed, 25 Jun 2014 19:32:48 +0000 (15:32 -0400)
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 <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/brcm80211/brcmfmac/fwil.c

index 59a5af5bf994d88b3e4f969c8e0633de3bd57d87..ded328f80cd1237454274ce53fd39433249b0e85 100644 (file)
@@ -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;
 }