madwifi: refresh patches
[openwrt.git] / package / madwifi / patches / 332-reset_beacons.patch
1 Index: madwifi-trunk-r3314/ath/if_ath.c
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/ath/if_ath.c
4 +++ madwifi-trunk-r3314/ath/if_ath.c
5 @@ -8911,7 +8911,7 @@
6                  * re configure beacons when it is a turbo mode switch.
7                  * HW seems to turn off beacons during turbo mode switch.
8                  */
9 -               if (sc->sc_beacons && tswitch && !sc->sc_dfs_cac)
10 +               if (sc->sc_beacons && !sc->sc_dfs_cac)
11                         ath_beacon_config(sc, NULL);
12                 /*
13                  * Re-enable interrupts.