Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a7d66bd authored by Dedy Lansky's avatar Dedy Lansky Committed by Maya Erez
Browse files

wil6210: rate limit wil_rx_refill error



wil_err inside wil_rx_refill can flood the log buffer.
Replace it with wil_err_ratelimited.

Change-Id: I636c898e518d98a1e42c9fef18c89a1dd5fd0375
Signed-off-by: default avatarDedy Lansky <dlansky@codeaurora.org>
Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Git-commit: 3d6b72729cc2933906de8d2c602ae05e920b2122
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
parent 89c28c31
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -608,7 +608,7 @@ static int wil_rx_refill(struct wil6210_priv *wil, int count)
	     v->swtail = next_tail) {
		rc = wil_vring_alloc_skb(wil, v, v->swtail, headroom);
		if (unlikely(rc)) {
			wil_err(wil, "Error %d in wil_rx_refill[%d]\n",
			wil_err_ratelimited(wil, "Error %d in rx refill[%d]\n",
					    rc, v->swtail);
			break;
		}