PERFORCE change 121333 for review

Andrew Thompson thompsa at FreeBSD.org
Sun Jun 10 08:04:11 UTC 2007


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

Change 121333 by thompsa at thompsa_heff on 2007/06/10 08:03:18

	The firmware will fail if we are already associated, hopefully this is
	the correct place to do this.

Affected files ...

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

Differences ...

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

@@ -3694,6 +3694,10 @@
 	struct ifnet *ifp = ic->ic_ifp;
 	struct iwi_softc *sc = ifp->if_softc;
 
+	/* The firmware will fail if we are already associated */
+	if (sc->flags & IWI_FLAG_ASSOCIATED)
+		iwi_disassoc(ic);
+
 	iwi_queue_cmd(sc, IWI_ASSOC);
 }
 


More information about the p4-projects mailing list