aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/332-reset_beacons.patch
blob: b776426f204f7720135b6ff844d3ece7b944c18e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
@@ -8922,7 +8922,7 @@ ath_chan_set(struct ath_softc *sc, struc
 		 * 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.