Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2007 11:22:17 GMT
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 121339 for review
Message-ID:  <200706101122.l5ABMHwq028484@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=121339

Change 121339 by thompsa@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706101122.l5ABMHwq028484>