svn commit: r240722 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Thu Sep 20 03:04:20 UTC 2012


Author: adrian
Date: Thu Sep 20 03:04:19 2012
New Revision: 240722
URL: http://svn.freebsd.org/changeset/base/240722

Log:
  Place the comment where it should be.

Modified:
  head/sys/dev/ath/if_ath_tx.c

Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c	Thu Sep 20 03:03:01 2012	(r240721)
+++ head/sys/dev/ath/if_ath_tx.c	Thu Sep 20 03:04:19 2012	(r240722)
@@ -1289,8 +1289,18 @@ ath_tx_xmit_normal(struct ath_softc *sc,
 	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 
 }
 
 /*
- * 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


More information about the svn-src-all mailing list