Created attachment 198486 [details] iprowifi2100: fix the broken tx This fix work of iprowifi2100 that was broken here: https://github.com/freebsd/freebsd/commit/619aca846fad0cf56fcd9c3374008f26a6f98b24 This condition (sc->txfree < 1 + IPW_MAX_NSEG) was never true. Original code used this for error case: if (sc->txfree < 1 + IPW_MAX_NSEG) { IFQ_DRV_PREPEND(&ifp->if_snd, m); ifp->if_drv_flags |= IFF_DRV_OACTIVE; break; } Hope, it helps...
Cc: glebius@ as the committer of r287197 (equivalent to the github commit below)
Before my commit the logic was the same.
Sorry, of course I reverted the logic. Will fix.
A commit references this bug: Author: glebius Date: Tue Oct 23 12:53:09 UTC 2018 New revision: 339643 URL: https://svnweb.freebsd.org/changeset/base/339643 Log: Fix ipw_start(), where logic was reverted in r287197. PR: 232554 Submitted by: gl00my@mail.ru Changes: head/sys/dev/ipw/if_ipw.c
A commit references this bug: Author: glebius Date: Wed Oct 31 23:05:44 UTC 2018 New revision: 339976 URL: https://svnweb.freebsd.org/changeset/base/339976 Log: MFhead r339643: Fix ipw_start(), where logic was reverted in r287197. PR: 232554 Changes: _U stable/11/ stable/11/sys/dev/ipw/if_ipw.c