openwrt/package/madwifi/patches/332-reset_beacons.patch
2008-07-16 16:30:03 +00:00

12 lines
349 B
Diff

--- a/ath/if_ath.c
+++ b/ath/if_ath.c
@@ -8923,7 +8923,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.