svn commit: r277822 - head/sys/dev/ath/ath_rate/sample
Adrian Chadd
adrian at FreeBSD.org
Wed Jan 28 04:42:41 UTC 2015
Author: adrian
Date: Wed Jan 28 04:42:40 2015
New Revision: 277822
URL: https://svnweb.freebsd.org/changeset/base/277822
Log:
Print out the final_rix if there's a problem.
Modified:
head/sys/dev/ath/ath_rate/sample/sample.c
Modified: head/sys/dev/ath/ath_rate/sample/sample.c
==============================================================================
--- head/sys/dev/ath/ath_rate/sample/sample.c Wed Jan 28 04:02:56 2015 (r277821)
+++ head/sys/dev/ath/ath_rate/sample/sample.c Wed Jan 28 04:42:40 2015 (r277822)
@@ -891,8 +891,8 @@ ath_rate_tx_complete(struct ath_softc *s
if (!mrr || ts->ts_finaltsi == 0) {
if (!IS_RATE_DEFINED(sn, final_rix)) {
- device_printf(sc->sc_dev, "%s: ts_rate=%d ts_finaltsi=%d\n",
- __func__, ts->ts_rate, ts->ts_finaltsi);
+ device_printf(sc->sc_dev, "%s: ts_rate=%d ts_finaltsi=%d, final_rix=%d\n",
+ __func__, ts->ts_rate, ts->ts_finaltsi, final_rix);
badrate(ifp, 0, ts->ts_rate, long_tries, status);
return;
}
More information about the svn-src-head
mailing list