mirror of https://github.com/hak5/openwrt-owl.git
12 lines
390 B
Diff
12 lines
390 B
Diff
--- a/ath/if_ath.c
|
|
+++ b/ath/if_ath.c
|
|
@@ -8920,7 +8920,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.
|