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

Commit 45cfc516 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by John W. Linville
Browse files

rt2x00: move frequent messages to debug level



On commit 28f2bce9 I make change that
print various messages as default. This can cause flood of messages
related to TX status timeout on some environments. I partially fixed
problem on commit bb9c298f, but forgot
to move two more messages to debug level.

Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Acked-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2da5cb29
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ static inline bool rt2800usb_entry_txstatus_timeout(struct queue_entry *entry)

	tout = time_after(jiffies, entry->last_action + msecs_to_jiffies(100));
	if (unlikely(tout))
		rt2x00_warn(entry->queue->rt2x00dev,
		rt2x00_dbg(entry->queue->rt2x00dev,
			   "TX status timeout for entry %d in queue %d\n",
			   entry->entry_idx, entry->queue->qid);
	return tout;
@@ -566,7 +566,7 @@ static void rt2800usb_txdone(struct rt2x00_dev *rt2x00dev)
		queue = rt2x00queue_get_tx_queue(rt2x00dev, qid);

		if (unlikely(rt2x00queue_empty(queue))) {
			rt2x00_warn(rt2x00dev, "Got TX status for an empty queue %u, dropping\n",
			rt2x00_dbg(rt2x00dev, "Got TX status for an empty queue %u, dropping\n",
				   qid);
			break;
		}