svn commit: r225512 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Mon Sep 12 15:01:33 UTC 2011
Author: adrian
Date: Mon Sep 12 15:01:32 2011
New Revision: 225512
URL: http://svn.freebsd.org/changeset/base/225512
Log:
Fix some debugging - don't deference tap if it's NULL.
This will occur on non-11n NICs, like the AR5212 I just
tried this codebase on.
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Mon Sep 12 14:39:03 2011 (r225511)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Mon Sep 12 15:01:32 2011 (r225512)
@@ -2253,7 +2253,7 @@ ath_tx_tid_drain(struct ath_softc *sc, s
__func__, ni, tid->tid, txq->axq_depth,
txq->axq_aggr_depth, tid->sched, tid->paused,
tid->hwq_depth, tid->incomp, tid->baw_head,
- tid->baw_tail, tap->txa_start,
+ tid->baw_tail, tap == NULL ? -1 : tap->txa_start,
ni->ni_txseqs[tid->tid]);
t = 1;
}
More information about the svn-src-user
mailing list