Date: Mon, 12 Sep 2011 15:01:32 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r225512 - user/adrian/if_ath_tx/sys/dev/ath Message-ID: <201109121501.p8CF1WDq030909@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109121501.p8CF1WDq030909>