Removed u_int64_t that slipped into last commit
authorbenoit <benoit@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 29 Dec 2007 18:23:48 +0000 (18:23 +0000)
committerbenoit <benoit@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 29 Dec 2007 18:23:48 +0000 (18:23 +0000)
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

index b6e40af368798b71d1e1e0d46b11b45a01945ef6..288cb2de14bf2243c4832f6f6a2f08cba87b78a3 100644 (file)
@@ -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) {