From a3aa87eeb8cd9cbee50608e22ea6e8537d356da8 Mon Sep 17 00:00:00 2001 From: benoit Date: Sat, 29 Dec 2007 18:23:48 +0000 Subject: [PATCH] Removed u_int64_t that slipped into last commit Changed FUDGE to 3 to have the very same value as computed before git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3101 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath/if_ath.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ath/if_ath.c b/ath/if_ath.c index b6e40af..288cb2d 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -4628,7 +4628,8 @@ ath_beacon_send(struct ath_softc *sc, int *needmark) */ if (sc->sc_stagbeacons) { /* staggered beacons */ struct ieee80211com *ic = &sc->sc_ic; - u_int64_t tsf, tsftu; + u_int64_t tsf; + u_int32_t tsftu; tsf = ath_hal_gettsf64(ah); tsftu = tsf >> 10; /* NB: 64 -> 32: See note far above. */ @@ -4907,7 +4908,7 @@ ath_beacon_update_timers(struct ath_softc *sc, struct ieee80211vap *vap) } else intval = ni->ni_intval & HAL_BEACON_PERIOD; -#define FUDGE 2 +#define FUDGE 3 sc->sc_syncbeacon = 0; if (reset_tsf) { -- 2.35.1