|
@@ -312,6 +312,7 @@ static const struct {
|
|
|
{ ATH5K_DEBUG_DUMP_TX, "dumptx", "print transmit skb content" },
|
|
|
{ ATH5K_DEBUG_DUMPBANDS, "dumpbands", "dump bands" },
|
|
|
{ ATH5K_DEBUG_ANI, "ani", "adaptive noise immunity" },
|
|
|
+ { ATH5K_DEBUG_DESC, "desc", "descriptor chains" },
|
|
|
{ ATH5K_DEBUG_ANY, "all", "show all debug levels" },
|
|
|
};
|
|
|
|
|
@@ -955,7 +956,7 @@ ath5k_debug_printrxbuffs(struct ath5k_softc *sc, struct ath5k_hw *ah)
|
|
|
struct ath5k_rx_status rs = {};
|
|
|
int status;
|
|
|
|
|
|
- if (likely(!(sc->debug.level & ATH5K_DEBUG_RESET)))
|
|
|
+ if (likely(!(sc->debug.level & ATH5K_DEBUG_DESC)))
|
|
|
return;
|
|
|
|
|
|
printk(KERN_DEBUG "rxdp %x, rxlink %p\n",
|
|
@@ -997,7 +998,7 @@ ath5k_debug_printtxbuf(struct ath5k_softc *sc, struct ath5k_buf *bf)
|
|
|
struct ath5k_tx_status ts = {};
|
|
|
int done;
|
|
|
|
|
|
- if (likely(!(sc->debug.level & ATH5K_DEBUG_RESET)))
|
|
|
+ if (likely(!(sc->debug.level & ATH5K_DEBUG_DESC)))
|
|
|
return;
|
|
|
|
|
|
done = sc->ah->ah_proc_tx_desc(sc->ah, bf->desc, &ts);
|