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
This commit is contained in:
benoit 2007-11-21 08:45:54 +00:00
parent e4dc719a3c
commit 8173daf0ad

View File

@ -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);
/*