Project

General

Profile

Bug #62 ยป if_awi.incompat.diff

slynko, 01/18/2006 04:04 PM

View differences:

/usr/src1/sys/dev/netif/awi/if_awi_pccard.c 18 Jan 2006 13:01:58 -0000
239 239
	struct awi_softc *sc = &psc->sc_awi;
240 240
	struct ifnet *ifp = &sc->sc_ec.ac_if;
241 241

  
242
	lwkt_serialize_enter(&ifp->if_serializer);
242
	lwkt_serialize_enter(ifp->if_serializer);
243 243
	ifp->if_flags &= ~IFF_RUNNING; 
244 244
	if (psc->sc_intrhand) {
245 245
		bus_teardown_intr(dev, psc->sc_irq_res, psc->sc_intrhand);
246 246
		psc->sc_intrhand = 0;
247 247
	}
248
	lwkt_serialize_exit(&ifp->if_serializer);
248
	lwkt_serialize_exit(ifp->if_serializer);
249 249

  
250 250
	ether_ifdetach(ifp);
251 251

  
    (1-1/1)