PERFORCE change 120790 for review

Sam Leffler sam at FreeBSD.org
Sat Jun 2 19:10:21 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=120790

Change 120790 by sam at sam_laptop on 2007/06/02 19:09:54

	check the right place for IFF_RUNNING

Affected files ...

.. //depot/projects/wifi/sys/dev/iwi/if_iwi.c#38 edit

Differences ...

==== //depot/projects/wifi/sys/dev/iwi/if_iwi.c#38 (text+ko) ====

@@ -1609,7 +1609,7 @@
 	if (r & IWI_INTR_FATAL_ERROR) {
 		device_printf(sc->sc_dev, "firmware error\n");
 		/* don't restart if the interface isn't up */
-		if (sc->sc_ifp->if_flags & IFF_DRV_RUNNING)
+		if (sc->sc_ifp->if_drv_flags & IFF_DRV_RUNNING)
 			taskqueue_enqueue(sc->sc_tq, &sc->sc_restarttask);
 
 		sc->flags &= ~IWI_FLAG_BUSY;


More information about the p4-projects mailing list