Remove bogus KASSERT. The 802.11 layer and the resume from suspend

code both seem to call wi_start (directly or via the if_start pointer)
without checking to see if OACTIVE is 0.  In addition, I think that
with the use of 3 transmit buffers this routine can be called with
OACTIVE set, but I might be mistaken about that (and it doesn't
matter).

Reviewed by: sam
Noticed by: imp, alfred, ambrisko
This commit is contained in:
Warner Losh 2003-03-17 13:19:28 +00:00
parent 9eaf5abceb
commit fabc845e37
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112343

View File

@ -839,8 +839,6 @@ wi_start(struct ifnet *ifp)
WI_UNLOCK(sc);
return;
}
KASSERT((ifp->if_flags & IFF_OACTIVE) == 0,
("wi_start: if_flags %x\n", ifp->if_flags));
memset(&frmhdr, 0, sizeof(frmhdr));
cur = sc->sc_txnext;