From: benoit Date: Wed, 21 Nov 2007 08:45:54 +0000 (+0000) Subject: Merge changeset 2877 to trunk. Fixed sc_last_tsf. X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=8173daf0ade989a7609aff8202b01985b10538fb;p=madwifi%2F.git Merge changeset 2877 to trunk. Fixed sc_last_tsf. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2878 0192ed92-7a03-0410-a25b-9323aeb14dbd --- diff --git a/ath/if_ath.c b/ath/if_ath.c index e991a0a..8470ec2 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -4819,6 +4819,9 @@ ath_beacon_config(struct ath_softc *sc, struct ieee80211vap *vap) ~(HAL_BEACON_RESET_TSF | HAL_BEACON_ENA)); #endif ath_hal_beaconinit(ah, nexttbtt, intval); + if (intval & HAL_BEACON_RESET_TSF) { + sc->sc_last_tsf = 0; + } sc->sc_bmisscount = 0; ath_hal_intrset(ah, sc->sc_imask); /*