Skip to content

Commit

Permalink
Fix ipw_start(), where logic was reverted in r287197.
Browse files Browse the repository at this point in the history
PR:		232554
Submitted by:	gl00my@mail.ru
  • Loading branch information
glebius committed Oct 23, 2018
1 parent ef5ae8b commit 8050a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/ipw/if_ipw.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 8050a06

Please sign in to comment.