madwifi: fix race condition on ibss init (#5935)
[openwrt.git] / package / madwifi / patches / 332-reset_beacons.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -8922,7 +8922,7 @@ ath_chan_set(struct ath_softc *sc, struc
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.
This page took 0.05021 seconds and 5 git commands to generate.