From cc6a784ca96ec28686595a8e482eeeca31139bb2 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 17 Mar 2003 13:19:28 +0000 Subject: 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 --- sys/dev/wi/if_wi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index c0fc9b4..7a12be8 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -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; -- cgit v1.1