Date: Sun, 10 Jun 2007 08:04:09 GMT From: Andrew Thompson <thompsa@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 121333 for review Message-ID: <200706100804.l5A849Bn024314@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=121333 Change 121333 by thompsa@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); }help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706100804.l5A849Bn024314>
