Print out the final_rix if there's a problem.

This commit is contained in:
adrian 2015-01-28 04:42:40 +00:00
parent 887dcb882d
commit 393a27d646

View File

@ -891,8 +891,8 @@ ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an,
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;
}