PERFORCE change 121339 for review

Andrew Thompson thompsa at FreeBSD.org
Sun Jun 10 11:22:18 UTC 2007


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

Change 121339 by thompsa at thompsa_heff on 2007/06/10 11:21:47

	Return from iwi_ops if the interface has been downed.

Affected files ...

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

Differences ...

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

@@ -3580,8 +3580,10 @@
 		msleep(sc, &sc->sc_mtx, 0, "iwicmd", hz/10);
 	}
 
-	if (!(sc->sc_ifp->if_drv_flags & IFF_DRV_RUNNING))
-		goto done;
+	if (!(sc->sc_ifp->if_drv_flags & IFF_DRV_RUNNING)) {
+		IWI_UNLOCK(sc);
+		return;
+	}
 
 	switch (cmd) {
 	case IWI_ASSOC:


More information about the p4-projects mailing list