brcmfmac: Change error log in standard log for rxbufpost.
authorHante Meuleman <meuleman@broadcom.com>
Sun, 21 Dec 2014 11:43:50 +0000 (12:43 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Jan 2015 18:29:04 +0000 (20:29 +0200)
When there is no room in the ring for rxbufpost an error is logged,
however this happens quite frequently and can be considered normal
and is certainly recoverable. This patch changes the erorr into
a normal msgbuf log.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c

index 3ff6acfd82a74ab24c84df63d5589113f79eff6d..ee147f5c706a3c710c95da671e7bdacfb9d40002 100644 (file)
@@ -894,7 +894,7 @@ static u32 brcmf_msgbuf_rxbuf_data_post(struct brcmf_msgbuf *msgbuf, u32 count)
                                                              count,
                                                              &alloced);
        if (!ret_ptr) {
-               brcmf_err("Failed to reserve space in commonring\n");
+               brcmf_dbg(MSGBUF, "Failed to reserve space in commonring\n");
                return 0;
        }