Date: Tue, 23 Oct 2018 12:53:09 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r339643 - head/sys/dev/ipw Message-ID: <201810231253.w9NCr9T6010689@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Tue Oct 23 12:53:09 2018 New Revision: 339643 URL: https://svnweb.freebsd.org/changeset/base/339643 Log: Fix ipw_start(), where logic was reverted in r287197. PR: 232554 Submitted by: gl00my@mail.ru Modified: head/sys/dev/ipw/if_ipw.c Modified: head/sys/dev/ipw/if_ipw.c ============================================================================== --- head/sys/dev/ipw/if_ipw.c Tue Oct 23 12:50:28 2018 (r339642) +++ head/sys/dev/ipw/if_ipw.c Tue Oct 23 12:53:09 2018 (r339643) @@ -1732,7 +1732,7 @@ ipw_start(struct ipw_softc *sc) IPW_LOCK_ASSERT(sc); - while (sc->txfree < 1 + IPW_MAX_NSEG && + while (sc->txfree >= 1 + IPW_MAX_NSEG && (m = mbufq_dequeue(&sc->sc_snd)) != NULL) { ni = (struct ieee80211_node *) m->m_pkthdr.rcvif; if (ipw_tx_start(sc, m, ni) != 0) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810231253.w9NCr9T6010689>