Date: Tue, 23 Oct 2018 05:51:38 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 232554] iprowifi2100: broken tx fix [patch] Message-ID: <bug-232554-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232554 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@FreeBSD.org Reporter: gl00my@mail.ru Created attachment 198486 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D198486&action= =3Dedit iprowifi2100: fix the broken tx This fix work of iprowifi2100 that was broken here:=20 https://github.com/freebsd/freebsd/commit/619aca846fad0cf56fcd9c3374008f26a= 6f98b24 This condition (sc->txfree < 1 + IPW_MAX_NSEG) was never true.=20 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 |=3D IFF_DRV_OACTIVE; break; } Hope, it helps... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232554-227>