aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath.c3
-rw-r--r--sys/dev/ath/if_ath_rx.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 0d6d4f8d3a35..6a551f0bced5 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -662,9 +662,6 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
(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
diff --git a/sys/dev/ath/if_ath_rx.c b/sys/dev/ath/if_ath_rx.c
index 49901b4b9c27..7fa86f7ab225 100644
--- a/sys/dev/ath/if_ath_rx.c
+++ b/sys/dev/ath/if_ath_rx.c
@@ -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]++;
/*