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

Adrian Chadd adrian at FreeBSD.org
Sat Jun 16 22:26:46 UTC 2012


Author: adrian
Date: Sat Jun 16 22:26:45 2012
New Revision: 237173
URL: http://svn.freebsd.org/changeset/base/237173

Log:
  oops, remove this, it wasn't supposed to be committed.

Modified:
  head/sys/dev/ath/if_ath.c
  head/sys/dev/ath/if_ath_rx.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Sat Jun 16 21:39:00 2012	(r237172)
+++ head/sys/dev/ath/if_ath.c	Sat Jun 16 22:26:45 2012	(r237173)
@@ -662,9 +662,6 @@ ath_attach(u_int16_t devid, struct ath_s
 		(void) ath_hal_settxchainmask(sc->sc_ah, tx_chainmask);
 	}
 
-	device_printf(sc->sc_dev, "%s: sizeof(ath_buf) = %d bytes\n",
-	    __func__, (int)sizeof(struct ath_buf));
-
 #ifdef	ATH_ENABLE_11N
 	/*
 	 * Query HT capabilities

Modified: head/sys/dev/ath/if_ath_rx.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx.c	Sat Jun 16 21:39:00 2012	(r237172)
+++ head/sys/dev/ath/if_ath_rx.c	Sat Jun 16 22:26:45 2012	(r237173)
@@ -637,6 +637,7 @@ rx_accept:
 	}
 
 	ifp->if_ipackets++;
+	ifp->if_ibytes += m->m_pkthdr.len;
 	sc->sc_stats.ast_ant_rx[rs->rs_antenna]++;
 
 	/*


More information about the svn-src-all mailing list