ath9k: downgrade xmit queue full message to xmit debug
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 10 Mar 2009 02:09:41 +0000 (22:09 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:41 +0000 (18:09 -0400)
This is not a fatal message, hitting it simply means we're
going to tell the upper layers to slow their horses down but
as we make more descriptors available we let the show continue
by waking up the queues in ath_wake_mac80211_queue().

We downgrade this as otherwise we fill up your kernel log with
messages which can be common under heavy traffic.

Cc: stable@kernel.org
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/xmit.c

index f61ba2b7de71458566b6422a67c99ef4e92b9b36..e3f376611f85459ac4b0bb446e072316418e7763 100644 (file)
@@ -891,7 +891,7 @@ struct ath_txq *ath_test_get_txq(struct ath_softc *sc, struct sk_buff *skb)
        spin_lock_bh(&txq->axq_lock);
 
        if (txq->axq_depth >= (ATH_TXBUF - 20)) {
-               DPRINTF(sc, ATH_DBG_FATAL,
+               DPRINTF(sc, ATH_DBG_XMIT,
                        "TX queue: %d is full, depth: %d\n",
                        qnum, txq->axq_depth);
                ieee80211_stop_queue(sc->hw, skb_get_queue_mapping(skb));