Removed sc_last_tsf alltogether (was just for debugging anyway)

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2934 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
benoit 2007-11-23 22:18:33 +00:00
parent a992820b57
commit 230a7edfe9
2 changed files with 0 additions and 14 deletions

View File

@ -1102,8 +1102,6 @@ ath_attach(u_int16_t devid, struct net_device *dev, HAL_BUS_TAG tag)
DEV_NAME(dev));
}
sc->sc_last_tsf = 0;
return 0;
bad3:
ieee80211_ifdetach(ic);
@ -1972,14 +1970,6 @@ ath_uapsd_processtriggers(struct ath_softc *sc)
"%s: bf_tsf=%10llx hw_tsf=%10llx\n",
DEV_NAME(sc->sc_dev),
bf->bf_tsf, hw_tsf);
if (bf->bf_tsf < sc->sc_last_tsf) {
printk("TSF error: bf_tsf=%10llx "
"sc_last_tsf=%10llx\n",
bf->bf_tsf,
sc->sc_last_tsf);
}
sc->sc_last_tsf = bf->bf_tsf;
}
}
}
@ -5038,9 +5028,6 @@ 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);
/*

View File

@ -717,7 +717,6 @@ struct ath_softc {
#endif
u_int sc_slottimeconf; /* manual override for slottime */
u_int64_t sc_tsf; /* TSF at last rx interrupt */
u_int64_t sc_last_tsf;
};
typedef void (*ath_callback) (struct ath_softc *);