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

Commit b0f36025 authored by Vladimir Kondratiev's avatar Vladimir Kondratiev Committed by Hamad Kadmany
Browse files

wil6210: Rate limit "ring full" error message



In the wil_tx_ring, error message printed when tx attempted
while vring has no space to accommodate all fragments of frame.
Normally, such situation handled by stopping tx queue.
But, if tx queue is by-passed (like pktgen does), this error
will be triggered at high rate and dmesg will be flooded with
this message. Whole system may become unstable and hang with
no possible recover except power cycle.

Rate-limit it to prevent dmesg flooding.

Change-Id: I1b296cde35dd6ff52c1a33785f07cd5c38485849
Signed-off-by: default avatarVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Git-commit: 70801e1b1eaebcc4367114881f4beb8532bdba2f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git


Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent 1c5a16db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment