Fix interrupt race.

From NetBSD
This commit is contained in:
imp 2003-04-10 07:55:55 +00:00
parent 0e02966daf
commit 07eec53268

View File

@ -563,8 +563,8 @@ wi_intr(void *arg)
WI_LOCK(sc);
if (sc->wi_gone || (ifp->if_flags & IFF_UP) == 0) {
CSR_WRITE_2(sc, WI_EVENT_ACK, ~0);
CSR_WRITE_2(sc, WI_INT_EN, 0);
CSR_WRITE_2(sc, WI_EVENT_ACK, ~0);
WI_UNLOCK(sc);
return;
}