Debug output when beacons are reconfigured.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3185 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mtaylor 2008-01-16 22:28:49 +00:00
parent d25dbe6d49
commit 1da2be285c

View File

@ -8873,6 +8873,10 @@ ath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
*/ */
if (!sc->sc_beacons && vap->iv_opmode!=IEEE80211_M_WDS) { if (!sc->sc_beacons && vap->iv_opmode!=IEEE80211_M_WDS) {
ath_beacon_config(sc, vap); ath_beacon_config(sc, vap);
DPRINTF(sc, ATH_DEBUG_STATE | ATH_DEBUG_BEACON | ATH_DEBUG_BEACON_PROC,
"%s: Beacons reconfigured by %p[%s]!\n",
__func__, vap, vap->iv_nickname);
sc->sc_beacons = 1; sc->sc_beacons = 1;
} }