]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ath9k: downgrade xmit queue full message to xmit debug
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 26 Mar 2009 23:05:17 +0000 (23:05 +0000)
committerChris Wright <chrisw@sous-sol.org>
Thu, 2 Apr 2009 20:55:16 +0000 (13:55 -0700)
upstream commit: c117fa0bf5f5b3d362b590ed6e80499defe14505

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/wireless/ath9k/xmit.c

index c92f0c6e4adcd1ac64bf0975f5a1f32ed3bf0bfd..80af54ed3ff958f4017a3ec08ae5186f9081b056 100644 (file)
@@ -2035,7 +2035,7 @@ struct ath_txq *ath_test_get_txq(struct ath_softc *sc, struct sk_buff *skb)
 
        /* Try to avoid running out of descriptors */
        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));