Fix ipw_start(), where logic was reverted in r287197.

PR:		232554
Submitted by:	gl00my@mail.ru
This commit is contained in:
Gleb Smirnoff 2018-10-23 12:53:09 +00:00
parent e6b383b2f5
commit daa70021ac

View File

@ -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) {