We need to update beacon configuration when the channel changes, the tswitch condition doesnt factor into the decision

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3510 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mtaylor 2008-04-10 03:53:25 +00:00
parent 436eb24f42
commit 334f390f9c

View File

@ -8908,7 +8908,7 @@ ath_chan_set(struct ath_softc *sc, struct ieee80211_channel *chan)
* re configure beacons when it is a turbo mode switch.
* HW seems to turn off beacons during turbo mode switch.
*/
if (sc->sc_beacons && tswitch && !sc->sc_dfs_cac)
if (sc->sc_beacons && !sc->sc_dfs_cac)
ath_beacon_config(sc, NULL);
/*
* Re-enable interrupts.