Fix ipw_start(), where logic was reverted in r287197.
PR: 232554 Submitted by: gl00my@mail.ru
This commit is contained in:
parent
e6b383b2f5
commit
daa70021ac
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user