summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ath/if_ath_tx.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c
index 1875e87..cd71c91 100644
--- a/sys/dev/ath/if_ath_tx.c
+++ b/sys/dev/ath/if_ath_tx.c
@@ -1298,6 +1298,18 @@ ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni,
return EIO;
}
+ /* Check if the TXQ wouldn't match what the hardware TXQ is! */
+ if (txq != sc->sc_ac2q[pri]) {
+ device_printf(sc->sc_dev,
+ "%s: txq=%p (%d), pri=%d, pri txq=%p (%d)\n",
+ __func__,
+ txq,
+ txq->axq_qnum,
+ pri,
+ sc->sc_ac2q[pri],
+ sc->sc_ac2q[pri]->axq_qnum);
+ }
+
/*
* Calculate miscellaneous flags.
*/
OpenPOWER on IntegriCloud