From 8173daf0ade989a7609aff8202b01985b10538fb Mon Sep 17 00:00:00 2001 From: benoit Date: Wed, 21 Nov 2007 08:45:54 +0000 Subject: [PATCH] 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 --- ath/if_ath.c | 3 +++ 1 file changed, 3 insertions(+) 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); /* -- 2.35.1