wil6210: ratelimit errors in TX/RX interrupts
authorLior David <qca_liord@qca.qualcomm.com>
Mon, 28 Aug 2017 19:18:41 +0000 (22:18 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 31 Aug 2017 12:19:26 +0000 (15:19 +0300)
commit40cbd88be702a2455b6e047dc13f5d51ed542063
treef7da6ea540dcc0c09e98082958fc73238f1142e7
parentc0cc00f250e19c717fc9cdbdb7f55aaa569c7498
wil6210: ratelimit errors in TX/RX interrupts

Sometimes there is a firmware crash but the hardware
is not fully stopped and continue to send TX/RX interrupts.
This can cause an overload of messages which can bring the
host down. Add ratelimit to these error messages to fix this.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/interrupt.c