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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339643
@ -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