summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-09-20 03:04:19 +0000
committeradrian <adrian@FreeBSD.org>2012-09-20 03:04:19 +0000
commita58474fdbdc9cc2a5debc3f45e02bc36a225603a (patch)
treef34007b8c7a39c0a586820296b6f08a841591ad1
parent965fb082876841491bd8ac61cc85d71ed691e071 (diff)
downloadFreeBSD-src-a58474fdbdc9cc2a5debc3f45e02bc36a225603a.zip
FreeBSD-src-a58474fdbdc9cc2a5debc3f45e02bc36a225603a.tar.gz
Place the comment where it should be.
-rw-r--r--sys/dev/ath/if_ath_tx.c28
1 files changed, 12 insertions, 16 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c
index ecf352e..de61a6b 100644
--- a/sys/dev/ath/if_ath_tx.c
+++ b/sys/dev/ath/if_ath_tx.c
@@ -1289,8 +1289,18 @@ ath_tx_xmit_normal(struct ath_softc *sc, struct ath_txq *txq,
ath_tx_handoff(sc, txq, bf);
}
-
-
+/*
+ * Do the basic frame setup stuff that's required before the frame
+ * is added to a software queue.
+ *
+ * All frames get mostly the same treatment and it's done once.
+ * Retransmits fiddle with things like the rate control setup,
+ * setting the retransmit bit in the packet; doing relevant DMA/bus
+ * syncing and relinking it (back) into the hardware TX queue.
+ *
+ * Note that this may cause the mbuf to be reallocated, so
+ * m0 may not be valid.
+ */
static int
ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni,
struct ath_buf *bf, struct mbuf *m0, struct ath_txq *txq)
@@ -2701,20 +2711,6 @@ ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_txq *txq,
}
/*
- * Do the basic frame setup stuff that's required before the frame
- * is added to a software queue.
- *
- * All frames get mostly the same treatment and it's done once.
- * Retransmits fiddle with things like the rate control setup,
- * setting the retransmit bit in the packet; doing relevant DMA/bus
- * syncing and relinking it (back) into the hardware TX queue.
- *
- * Note that this may cause the mbuf to be reallocated, so
- * m0 may not be valid.
- */
-
-
-/*
* Configure the per-TID node state.
*
* This likely belongs in if_ath_node.c but I can't think of anywhere
OpenPOWER on IntegriCloud