Update comment for why we set sc_beacons to one when resetting for calibration after txcont, cac, or calibration.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3309 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mtaylor 2008-01-30 19:34:49 +00:00
parent 6fbbcf00a0
commit 2b8281ba31

View File

@ -8725,7 +8725,9 @@ ath_calibrate(unsigned long arg)
"HAL_RFGAIN_NEED_CHANGE)\n");
sc->sc_stats.ast_per_rfgain++;
/* XXX: Ugly workaround */
/* Even if beacons were not enabled presently,
* set sc->beacons if we might need to restart
* them after ath_reset. */
if (!sc->sc_beacons &&
(TAILQ_FIRST(&ic->ic_vaps)->iv_opmode !=
IEEE80211_M_WDS) &&