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
*/
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. */
} else
intval = ni->ni_intval & HAL_BEACON_PERIOD;
-#define FUDGE 2
+#define FUDGE 3
sc->sc_syncbeacon = 0;
if (reset_tsf) {