madwifi: remove some leftover duplicate definitions
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 349-reset.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -8864,8 +8864,7 @@ ath_chan_set(struct ath_softc *sc, struc
4 * needed to do the reset with chanchange = AH_FALSE in order
5 * to receive traffic when peforming high velocity channel
6 * changes. */
7 - if (!ath_hal_reset(ah, sc->sc_opmode, &hchan, AH_TRUE, &status) ||
8 - !ath_hal_reset(ah, sc->sc_opmode, &hchan, AH_FALSE, &status)) {
9 + if (!ath_hal_reset(ah, sc->sc_opmode, &hchan, AH_TRUE, &status)) {
10 EPRINTF(sc, "Unable to reset channel %u (%u MHz) "
11 "flags 0x%x '%s' (HAL status %u)\n",
12 ieee80211_chan2ieee(ic, chan), chan->ic_freq,