[Bug 232554] iprowifi2100: broken tx fix [patch]
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 23 05:51:40 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232554
Bug ID: 232554
Summary: iprowifi2100: broken tx fix [patch]
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: gl00my at mail.ru
Created attachment 198486
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198486&action=edit
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...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list