madwifi: reduce the packet loss impact of forced background scans triggered by the...
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 332-reset_beacons.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -8923,7 +8923,7 @@
4 * re configure beacons when it is a turbo mode switch.
5 * HW seems to turn off beacons during turbo mode switch.
6 */
7 - if (sc->sc_beacons && tswitch && !sc->sc_dfs_cac)
8 + if (sc->sc_beacons && !sc->sc_dfs_cac)
9 ath_beacon_config(sc, NULL);
10 /*
11 * Re-enable interrupts.