mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
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>
This commit is contained in:
parent
e383c70474
commit
61a4e5ff0d
@ -674,7 +674,7 @@ int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb,
|
||||
spin_lock(&queue->tx_lock);
|
||||
|
||||
if (unlikely(rt2x00queue_full(queue))) {
|
||||
rt2x00_err(queue->rt2x00dev, "Dropping frame due to full tx queue %d\n",
|
||||
rt2x00_dbg(queue->rt2x00dev, "Dropping frame due to full tx queue %d\n",
|
||||
queue->qid);
|
||||
ret = -ENOBUFS;
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user