Date: Tue, 11 Jan 2005 20:50:27 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 68763 for review Message-ID: <200501112050.j0BKoR1w008170@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=68763 Change 68763 by sam@sam_ebb on 2005/01/11 20:49:32 when transitioning to INIT state disable interrupts so we don't receive frames; any pending xmits should go out and the descriptors will be reaped anyway when we drain the queues Affected files ... .. //depot/projects/wifi/sys/dev/ath/if_ath.c#65 edit Differences ... ==== //depot/projects/wifi/sys/dev/ath/if_ath.c#65 (text+ko) ==== @@ -4281,7 +4281,10 @@ if (nstate == IEEE80211_S_INIT) { sc->sc_imask &= ~(HAL_INT_SWBA | HAL_INT_BMISS); - ath_hal_intrset(ah, sc->sc_imask); + /* + * NB: disable interrupts so we don't rx frames. + */ + ath_hal_intrset(ah, sc->sc_imask &~ ~HAL_INT_GLOBAL); /* * Notify the rate control algorithm. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501112050.j0BKoR1w008170>