iprowifi2100: cherrypick from upstream to fix broken tx.
https://github.com/freebsd/freebsd/commit/8050a0601b8bcf896f95b06f81b8bf492aeeaa89 Change-Id: Id467f270092819df04547a9fced87a884a9c178d Reviewed-on: https://review.haiku-os.org/639 Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
bc622f6b59
commit
8922fc0a9e
@@ -1733,7 +1733,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) {
|
||||
|
||||
Reference in New Issue
Block a user