svn commit: r339643 - head/sys/dev/ipw
Gleb Smirnoff
glebius at FreeBSD.org
Tue Oct 23 12:53:10 UTC 2018
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 at 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) {
More information about the svn-src-head
mailing list