Date: Mon, 11 Jun 2012 12:26:23 +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: r236886 - head/sys/dev/ath Message-ID: <201206111226.q5BCQNNt084220@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Mon Jun 11 12:26:23 2012 New Revision: 236886 URL: http://svn.freebsd.org/changeset/base/236886 Log: Fix uninitialised reference. Noticed by: John Hay <jhay@meraka.org.za> Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c ============================================================================== --- head/sys/dev/ath/if_ath_tx.c Mon Jun 11 11:59:29 2012 (r236885) +++ head/sys/dev/ath/if_ath_tx.c Mon Jun 11 12:26:23 2012 (r236886) @@ -2043,6 +2043,8 @@ ath_tx_addto_baw(struct ath_softc *sc, s if (bf->bf_state.bfs_isretried) return; + tap = ath_tx_get_tx_tid(an, tid->tid); + if (! bf->bf_state.bfs_dobaw) { device_printf(sc->sc_dev, "%s: dobaw=0, seqno=%d, window %d:%d\n", @@ -2052,8 +2054,6 @@ ath_tx_addto_baw(struct ath_softc *sc, s tap->txa_wnd); } - tap = ath_tx_get_tx_tid(an, tid->tid); - if (bf->bf_state.bfs_addedbaw) device_printf(sc->sc_dev, "%s: re-added? tid=%d, seqno %d; window %d:%d; "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206111226.q5BCQNNt084220>