mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
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
This commit is contained in:
parent
c3677b3c7e
commit
a3aa87eeb8
@ -4628,7 +4628,8 @@ ath_beacon_send(struct ath_softc *sc, int *needmark)
|
|||||||
*/
|
*/
|
||||||
if (sc->sc_stagbeacons) { /* staggered beacons */
|
if (sc->sc_stagbeacons) { /* staggered beacons */
|
||||||
struct ieee80211com *ic = &sc->sc_ic;
|
struct ieee80211com *ic = &sc->sc_ic;
|
||||||
u_int64_t tsf, tsftu;
|
u_int64_t tsf;
|
||||||
|
u_int32_t tsftu;
|
||||||
|
|
||||||
tsf = ath_hal_gettsf64(ah);
|
tsf = ath_hal_gettsf64(ah);
|
||||||
tsftu = tsf >> 10; /* NB: 64 -> 32: See note far above. */
|
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
|
} else
|
||||||
intval = ni->ni_intval & HAL_BEACON_PERIOD;
|
intval = ni->ni_intval & HAL_BEACON_PERIOD;
|
||||||
|
|
||||||
#define FUDGE 2
|
#define FUDGE 3
|
||||||
sc->sc_syncbeacon = 0;
|
sc->sc_syncbeacon = 0;
|
||||||
|
|
||||||
if (reset_tsf) {
|
if (reset_tsf) {
|
||||||
|
Loading…
Reference in New Issue
Block a user