summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/332-reset_beacons.patch
blob: a2ce279db36fd90284c6659d22065806ea8f0f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: madwifi-trunk-r3314/ath/if_ath.c
===================================================================
--- madwifi-trunk-r3314.orig/ath/if_ath.c
+++ madwifi-trunk-r3314/ath/if_ath.c
@@ -8911,7 +8911,7 @@
 		 * 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.