Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2015 04:42:41 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r277822 - head/sys/dev/ath/ath_rate/sample
Message-ID:  <201501280442.t0S4gfLd088311@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501280442.t0S4gfLd088311>