]> asedeno.scripts.mit.edu Git - linux.git/commit
rt2x00: do not print error when queue is full
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 12 Mar 2019 09:51:43 +0000 (10:51 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Apr 2019 16:40:54 +0000 (19:40 +0300)
commit61a4e5ff0d727d221ddf13aac209aca04afa7eb1
treeb56314f8d2faabc2fa1b2d6e0948c2f4df5623e4
parente383c70474db32b9d4a3de6dfbd08784d19e6751
rt2x00: do not print error when queue is full

For unknown reasons printk() on some context can cause CPU hung on
embedded MT7620 AP/router MIPS platforms. What can result on wifi
disconnects.

This patch move queue full messages to debug level what is consistent
with other mac80211 drivers which drop packet silently if tx queue is
full. This make MT7620 OpenWRT routers more stable, what was reported
by various users.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2x00queue.c