diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2013-02-20 11:22:44 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2013-02-20 11:22:44 +0000 |
commit | f274e91f675a82f166234fad28ca7dbaa1d2d8eb (patch) | |
tree | 595ac6874ca3ebe4e8eb2cf5d0826a9554d6352a /sys/dev | |
parent | 69930f8794462c175e69a5ca1af7afb337f4ea9d (diff) | |
download | src-f274e91f675a82f166234fad28ca7dbaa1d2d8eb.tar.gz src-f274e91f675a82f166234fad28ca7dbaa1d2d8eb.zip |
A couple of quick tidyups:
* Delete this debugging print - I used it when debugging the initial
TX descriptor chaining code. It now works, so let's toss it.
It just confuses people if they enable TX descriptor debugging as they
get two slightly different versions of the same descriptor.
* Indenting.
Notes
Notes:
svn path=/head/; revision=247029
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ath/if_ath_tx.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c index 64c43788acd2..f3ce0e754dcb 100644 --- a/sys/dev/ath/if_ath_tx.c +++ b/sys/dev/ath/if_ath_tx.c @@ -473,11 +473,6 @@ ath_tx_chaindesclist(struct ath_softc *sc, struct ath_desc *ds0, bf->bf_state.bfs_ndelim); } isFirstDesc = 0; -#ifdef ATH_DEBUG - if (sc->sc_debug & ATH_DEBUG_XMIT) - ath_printtxbuf(sc, bf, bf->bf_state.bfs_tx_queue, - 0, 0); -#endif bf->bf_lastds = (struct ath_desc *) ds; /* @@ -3154,7 +3149,7 @@ ath_tx_tid_filt_comp_aggr(struct ath_softc *sc, struct ath_tid *tid, * Don't allow a filtered frame to live forever. */ if (bf->bf_state.bfs_retries > SWMAX_RETRIES) { - sc->sc_stats.ast_tx_swretrymax++; + sc->sc_stats.ast_tx_swretrymax++; DPRINTF(sc, ATH_DEBUG_SW_TX_FILT, "%s: bf=%p, seqno=%d, exceeded retries\n", __func__, |